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:
b14873c
)
Now that the X86 Maximal Stack Alignment Check pass has been removed (i.e.,
author
Chad Rosier
<mcrosier@apple.com>
Mon, 26 Nov 2012 23:14:37 +0000
(23:14 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Mon, 26 Nov 2012 23:14:37 +0000
(23:14 +0000)
r168627), we no longer need to call the freezeReservedRegs() function a second
time. Previously, this pass was conservatively adding the FP to the set of
reserved registers, requiring the second update to the reserved registers.
rdar://
12719844
llvm-svn: 168630
llvm/lib/CodeGen/RegAllocBase.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/RegAllocBase.cpp
b/llvm/lib/CodeGen/RegAllocBase.cpp
index
993dbc7
..
2b598e3
100644
(file)
--- a/
llvm/lib/CodeGen/RegAllocBase.cpp
+++ b/
llvm/lib/CodeGen/RegAllocBase.cpp
@@
-58,7
+58,6
@@
void RegAllocBase::init(VirtRegMap &vrm,
VRM = &vrm;
LIS = &lis;
Matrix = &mat;
- MRI->freezeReservedRegs(vrm.getMachineFunction());
RegClassInfo.runOnMachineFunction(vrm.getMachineFunction());
}