[all-commits] [llvm/llvm-project] 3e2992: [MLIR][Mem2Reg] Replace pattern based approach wit...
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Mon Mar 18 00:33:12 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3e2992f0706db7089b42c54c4eb40c65afc98ec6
https://github.com/llvm/llvm-project/commit/3e2992f0706db7089b42c54c4eb40c65afc98ec6
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Transforms/Mem2Reg.h
M mlir/lib/Transforms/Mem2Reg.cpp
M mlir/test/Dialect/LLVMIR/mem2reg-intrinsics.mlir
Log Message:
-----------
[MLIR][Mem2Reg] Replace pattern based approach with a bulk one (#85426)
This commit changes MLIR's Mem2Reg implementation back from being
pattern based into a full pass. Using Mem2Reg as a pattern is
wasteful, as each application can invalidate the dominance info.
Applying changes in bulk allows for reuse of the same dominance info.
Unfortunately, this requires some test changes, due to the `IRBuilder`
not simplifying IR.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list