diff options
author | Chris <cbate@nvidia.com> | 2024-05-06 06:12:39 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 06:12:39 -0600 |
commit | 09adb53118e50ad433b7df6d84a4e2937bfb97d5 (patch) | |
tree | a6454334381b500d150cbad36a1a4b984836ae10 /clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp | |
parent | 10ec0d20892c170182a50129614675d3173a3f44 (diff) | |
download | llvm-09adb53118e50ad433b7df6d84a4e2937bfb97d5.zip llvm-09adb53118e50ad433b7df6d84a4e2937bfb97d5.tar.gz llvm-09adb53118e50ad433b7df6d84a4e2937bfb97d5.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp')
0 files changed, 0 insertions, 0 deletions