diff options
author | Christian Ulmann <christianulmann@gmail.com> | 2024-05-08 07:40:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 07:40:15 +0200 |
commit | 084e2b53d22c11e013b0a495b65d39aa7f934048 (patch) | |
tree | e738dd26f0bbf6c1eaf2852b4cc588650c81a24e /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 3e82442ff7288b4c41bb77888bc2cfea2c34d6ee (diff) | |
download | llvm-084e2b53d22c11e013b0a495b65d39aa7f934048.zip llvm-084e2b53d22c11e013b0a495b65d39aa7f934048.tar.gz llvm-084e2b53d22c11e013b0a495b65d39aa7f934048.tar.bz2 |
[MLIR][Interfaces] Change MemorySlotInterface to use OpBuilder (#91341)
This commit changes the `MemorySlotInterface` back to using `OpBuilder`
instead of a rewriter. This was originally introduced in
https://reviews.llvm.org/D150432 but it was shown that patterns are a
bad idea for both Mem2Reg and SROA.
Mem2Reg suffers from the usage of a rewriter due to being forced to
create new basic blocks. This is an issue, as it leads to the
invalidation of the dominance information, which can be expensive to
recompute.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions