projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0478723
)
[MachineLoopInfo] Enable machine verification after this pass
author
Jay Foad
<jay.foad@amd.com>
Wed, 29 Sep 2021 12:18:01 +0000
(13:18 +0100)
committer
Jay Foad
<jay.foad@amd.com>
Fri, 1 Oct 2021 17:15:57 +0000
(18:15 +0100)
Enabling this does not show any problems in check-llvm in an
LLVM_ENABLE_EXPENSIVE_CHECKS build.
Differential Revision: https://reviews.llvm.org/D110703
llvm/lib/CodeGen/TargetPassConfig.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/TargetPassConfig.cpp
b/llvm/lib/CodeGen/TargetPassConfig.cpp
index
09d66a8
..
af98386
100644
(file)
--- a/
llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/
llvm/lib/CodeGen/TargetPassConfig.cpp
@@
-1445,7
+1445,7
@@
void TargetPassConfig::addOptimizedRegAlloc() {
addPass(&LiveVariablesID);
// Edge splitting is smarter with machine loop info.
- addPass(&MachineLoopInfoID
, false
);
+ addPass(&MachineLoopInfoID);
addPass(&PHIEliminationID, false);
// Eventually, we want to run LiveIntervals before PHI elimination.