Unverified Commit a934ddcf authored by Simon Camphausen's avatar Simon Camphausen Committed by GitHub
Browse files

[mlir][EmitC] Do not inline expressions used by ops with the CExpression trait (#93691)

Currently an expression is inlined without emitting enclosing
parentheses regardless of the context of the user. This could led to
wrong evaluation order depending on the precedence of both expressions.
If the inlining is intended, the user operation should be merged into
the expression op.

Fixes #93470.
parent fc5254c8
Pipeline #3150 failed with stages
in 0 seconds
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