aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorSamuel Parker <sam.parker@arm.com>2023-02-13 09:12:12 +0000
committerSamuel Parker <sam.parker@arm.com>2023-02-13 09:46:31 +0000
commit2a58be42396376e8d552158ff801d953c6c1bee3 (patch)
tree33859e35e9aa643bbdc4f7fa6afef06c9d7b62ca /llvm/lib/CodeGen/CodeGen.cpp
parentc5e1000b291540587d656ff00190f965af3fffd1 (diff)
downloadllvm-2a58be42396376e8d552158ff801d953c6c1bee3.zip
llvm-2a58be42396376e8d552158ff801d953c6c1bee3.tar.gz
llvm-2a58be42396376e8d552158ff801d953c6c1bee3.tar.bz2
[HardwareLoops] NewPM support.
With the NPM, we're now defaulting to preserving LCSSA, so a couple of tests have changed slightly. Differential Revision: https://reviews.llvm.org/D140982
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 398ff56..0803c2c 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -48,7 +48,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeFuncletLayoutPass(Registry);
initializeGCMachineCodeAnalysisPass(Registry);
initializeGCModuleInfoPass(Registry);
- initializeHardwareLoopsPass(Registry);
+ initializeHardwareLoopsLegacyPass(Registry);
initializeIfConverterPass(Registry);
initializeImplicitNullChecksPass(Registry);
initializeIndirectBrExpandPassPass(Registry);