aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Transforms/LoopFusion.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2020-03-12 14:05:27 -0700
committerRiver Riddle <riddleriver@gmail.com>2020-03-12 14:26:14 -0700
commitd5f53253a022f8cdb42e3f1747b42d02492d8815 (patch)
treef010b7bfeba83e5345e9af537a1d693cb96ed33d /mlir/lib/Transforms/LoopFusion.cpp
parent56926a9146fc5a222c049ede403eb28fef0a7a15 (diff)
downloadllvm-d5f53253a022f8cdb42e3f1747b42d02492d8815.zip
llvm-d5f53253a022f8cdb42e3f1747b42d02492d8815.tar.gz
llvm-d5f53253a022f8cdb42e3f1747b42d02492d8815.tar.bz2
[mlir][SideEffects] Mark the CFG only terminator operations as NoSideEffect
These terminator operations don't really have any side effects, and this allows for more accurate side-effect analysis for region operations. For example, currently we can't detect like a loop.for or affine.for are dead because the affine.terminator is "side effecting". Note: Marking as NoSideEffect doesn't mean that these operations can be opaquely erased. Differential Revision: https://reviews.llvm.org/D75888
Diffstat (limited to 'mlir/lib/Transforms/LoopFusion.cpp')
0 files changed, 0 insertions, 0 deletions