diff options
author | Lei Zhang <antiagainst@google.com> | 2022-11-07 19:11:46 -0500 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2022-11-07 19:11:46 -0500 |
commit | 7c2d3153a9481793da58894dbf35d4994f3b67a4 (patch) | |
tree | 56fffebba92b70cb8cb52fdb4764db860f13d6a7 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | ec9aae9784fc7ee398490566926b625cd7cc4314 (diff) | |
download | llvm-7c2d3153a9481793da58894dbf35d4994f3b67a4.zip llvm-7c2d3153a9481793da58894dbf35d4994f3b67a4.tar.gz llvm-7c2d3153a9481793da58894dbf35d4994f3b67a4.tar.bz2 |
[mlir][spirv] Don't return value when cannot fold spirv.bitcast
Returing a value would make the canonicalization infrastructure
think that folding succeeded so the pattern will be tried again
when invoked via, e.g., `applyPatternsAndFoldGreedily` and
eventually fail due to not converging after 10 times by default.
Reviewed By: hanchung
Differential Revision: https://reviews.llvm.org/D137598
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions