Unverified Commit 08200fa3 authored by Matthias Springer's avatar Matthias Springer Committed by GitHub
Browse files

[mlir][Arith] Specify evaluation order of `getExpr` (#87859)

The C++ standard does not specify an evaluation order for addition/...
operands. E.g., in `a() + b()`, the compiler is free to evaluate `a` or
`b` first.

This lead to different `mlir-opt` outputs in #85895. (FileCheck passed
when compiled with LLVM but failed when compiled with gcc.)
parent c8f3d211
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment