aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorAkshat Oke <76596238+optimisan@users.noreply.github.com>2024-10-14 19:23:34 +0530
committerGitHub <noreply@github.com>2024-10-14 19:23:34 +0530
commitcd6c2b80be024d4bc0f6ce70930369b913a5daae (patch)
tree8686323c4d1a7aedf170ad32663c472c880ac3e6 /llvm/lib/CodeGen/TargetPassConfig.cpp
parenta3b0c31ebc2f6fe672f08f6b7d15f25a2b26edda (diff)
downloadllvm-cd6c2b80be024d4bc0f6ce70930369b913a5daae.zip
llvm-cd6c2b80be024d4bc0f6ce70930369b913a5daae.tar.gz
llvm-cd6c2b80be024d4bc0f6ce70930369b913a5daae.tar.bz2
[NewPM][CodeGen] Port StackColoring to NPM (#111812)
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetPassConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 11a7752..cf9d63d 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -1287,7 +1287,7 @@ void TargetPassConfig::addMachineSSAOptimization() {
// This pass merges large allocas. StackSlotColoring is a different pass
// which merges spill slots.
- addPass(&StackColoringID);
+ addPass(&StackColoringLegacyID);
// If the target requests it, assign local variables to stack slots relative
// to one another and simplify frame index references where possible.