Files
clang-p2996/mlir/lib/Dialect/EmitC/Transforms
Chris 09adb53118 [MLIR][EmitC] Fix bug in EmitC form-expressions pass (#91084)
An `emitc.expression` can only yield a single result, but some
operations which have the `CExpression` trait can have multiple results,
which can result in a crash when applying the `fold-expressions` pass.
This change adds a check for the single-result condition and a simple
test.
2024-05-06 06:12:39 -06:00
..