[Mlir-commits] [mlir] [mlir][EmitC] Fix evaluation order of expressions (PR #93549)

Gil Rapaport llvmlistbot at llvm.org
Tue May 28 21:17:13 PDT 2024


aniragil wrote:

Thanks for fixing this @simon-camp! 
IINM we can avoid parentheses if not required by associativity, i.e. the expression `(a * b) / d` can be emitted as `a * b / d` due to the operator's left associativity, but best to first fix the bug and later relax if desired.

https://github.com/llvm/llvm-project/pull/93549


More information about the Mlir-commits mailing list