summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/DmaGeneration.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riverriddle@google.com>2019-02-06 15:21:02 -0800
committerjpienaar <jpienaar@google.com>2019-03-29 16:19:17 -0700
commit99fee0b181106a0213501800c6076aec95afa46c (patch)
tree7974d849eb7cf500e3a2275a70ebb32958386adf /mlir/lib/Transforms/DmaGeneration.cpp
parentfd2d7c857b9cfecb91346a6ef6dc6bf13b98ae1d (diff)
downloadbcm5719-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/Transforms/DmaGeneration.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud