diff options
| author | River Riddle <riverriddle@google.com> | 2019-02-06 15:21:02 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 16:19:17 -0700 |
| commit | 99fee0b181106a0213501800c6076aec95afa46c (patch) | |
| tree | 7974d849eb7cf500e3a2275a70ebb32958386adf /mlir/lib/Analysis/Utils.cpp | |
| parent | fd2d7c857b9cfecb91346a6ef6dc6bf13b98ae1d (diff) | |
| download | bcm5719-llvm-99fee0b181106a0213501800c6076aec95afa46c.tar.gz bcm5719-llvm-99fee0b181106a0213501800c6076aec95afa46c.zip | |
When canonicalizing only erase the operation after calling the 'fold' hook if replacement results were supplied. This fixes a bug where the operation would always get erased, even if it was modified in place.
PiperOrigin-RevId: 232757964
Diffstat (limited to 'mlir/lib/Analysis/Utils.cpp')
0 files changed, 0 insertions, 0 deletions

