ensure the condition is evaluated before applying the negation operator [ROCm/hip commit: 0ff34b5cff]
0ff34b5cff