diff options
author | Mahesh Ravishankar <ravishankarm@google.com> | 2022-11-11 17:10:38 +0000 |
---|---|---|
committer | Mahesh Ravishankar <ravishankarm@google.com> | 2022-11-15 20:07:35 +0000 |
commit | fc367dfa6770fda4adc4e5de79846f22e7e4e215 (patch) | |
tree | 271b33935aaeaac87e22f05dcfccf9e0933454d0 /clang/lib/Frontend/FrontendAction.cpp | |
parent | 9332ddfba69c38f9ceef4175b042fba0bb8e67bb (diff) | |
download | llvm-fc367dfa6770fda4adc4e5de79846f22e7e4e215.zip llvm-fc367dfa6770fda4adc4e5de79846f22e7e4e215.tar.gz llvm-fc367dfa6770fda4adc4e5de79846f22e7e4e215.tar.bz2 |
[mlir] Remove `Transforms/SideEffectUtils.h` and move the methods into `Interface/SideEffectInterfaces.h`.
The methods in `SideEffectUtils.h` (and their implementations in
`SideEffectUtils.cpp`) seem to have similar intent to methods already
existing in `SideEffectInterfaces.h`. Move the decleration (and
implementation) from `SideEffectUtils.h` (and `SideEffectUtils.cpp`)
into `SideEffectInterfaces.h` (and `SideEffectInterface.cpp`).
Also drop the `SideEffectInterface::hasNoEffect` method in favor of
`mlir::isMemoryEffectFree` which actually recurses into the operation
instead of just relying on the `hasRecursiveMemoryEffectTrait`
exclusively.
Differential Revision: https://reviews.llvm.org/D137857
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
0 files changed, 0 insertions, 0 deletions