diff options
author | Billy Zhu <billyzhu@modular.com> | 2024-01-08 10:29:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-08 10:29:32 -0800 |
commit | eb42868f25665ba6301a94a30e9df33e0d6ae61f (patch) | |
tree | 7e7d4e43bc2c2b9affeb0185926483606c10ef28 /clang/lib/Lex/ModuleMap.cpp | |
parent | c1023c585de2629911a529cdf32490b99df83345 (diff) | |
download | llvm-eb42868f25665ba6301a94a30e9df33e0d6ae61f.zip llvm-eb42868f25665ba6301a94a30e9df33e0d6ae61f.tar.gz llvm-eb42868f25665ba6301a94a30e9df33e0d6ae61f.tar.bz2 |
[MLIR] Handle materializeConstant failure in GreedyPatternRewriteDriver (#77258)
Make GreedyPatternRewriteDriver handle failures of `materializeConstant`
gracefully. Previously it was not checking whether the returned op was
null and crashing. This PR handles it similarly to how OperationFolder
does it.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions