aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2025-04-20 12:35:47 +0200
committerGitHub <noreply@github.com>2025-04-20 12:35:47 +0200
commitbb21a6819b3fb9d689de776f7ee768030dfbacea (patch)
tree1737d434f48700f2db8eb36ae67e2910235bdb67 /llvm/lib/CodeGen/MachineInstr.cpp
parent90c845fb3babac387688dfa6d560d3ba8ed8e340 (diff)
downloadllvm-bb21a6819b3fb9d689de776f7ee768030dfbacea.zip
llvm-bb21a6819b3fb9d689de776f7ee768030dfbacea.tar.gz
llvm-bb21a6819b3fb9d689de776f7ee768030dfbacea.tar.bz2
[mlir][memref] Move `AllocLikeConversion.h` helpers into `MemRefToLLVM.cpp` (#136424)
This commit moves code around: The helper functions/classes are moved into `MemRefToLLVM.cpp`. This simplifies the code a bit: fewer templatized functions, fewer function calls, fewer lines of code. This commit also moves checks in `matchAndRewrite` to the beginning of the functions, such that patterns bail out (`return failure()`) before starting to modify any IR. (Apart from that, this change is NFC.) This is in preparation of the One-Shot Dialect Conversion refactoring, which will disallow pattern rollbacks.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions