llvm-project/mlir/lib/Dialect/LoopOps
River Riddle 0ddba0bd59 [mlir][SideEffects] Replace HasNoSideEffect with the memory effect interfaces.
HasNoSideEffect can now be implemented using the MemoryEffectInterface, removing the need to check multiple things for the same information. This also removes an easy foot-gun for users as 'Operation::hasNoSideEffect' would ignore operations that dynamically, or recursively, have no side effects. This also leads to an immediate improvement in some of the existing users, such as DCE, now that they have access to more information.

Differential Revision: https://reviews.llvm.org/D76036
2020-03-12 14:26:15 -07:00
..
EDSC [mlir][EDSC] Almost NFC - Refactor and untangle EDSC dependencies 2020-02-10 12:10:41 -05:00
Transforms [mlir][SideEffects] Replace HasNoSideEffect with the memory effect interfaces. 2020-03-12 14:26:15 -07:00
CMakeLists.txt [mlir][NFC] Move the interfaces and traits for side effects out of IR/ to Interfaces/ 2020-03-10 12:45:45 -07:00
LoopOps.cpp [mlir][SideEffects] Replace the old SideEffects dialect interface with the newly added op interfaces/traits. 2020-03-09 16:02:21 -07:00