Unverified Commit 657eda36 authored by Chris's avatar Chris Committed by GitHub
Browse files

[MLIR][EmitC] Don't translate expressions inline if user is `emitc.subscript` (#91087)

This change updates the logic that determines whether an `emitc.expression`
result is translated into a dedicated variable assignment. Due to how
the translation of `emitc.subscript` currently works, a previously
inline-able `emitc.expression` would produce incorrect C++ if its single user 
was a `emitc.subscript` operation.
parent 363ec6f6
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