projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MachineRegisterInfo: Remove UsedPhysReg infrastructure
[oota-llvm.git]
/
lib
/
Target
/
AArch64
/
AArch64FrameLowering.cpp
diff --git
a/lib/Target/AArch64/AArch64FrameLowering.cpp
b/lib/Target/AArch64/AArch64FrameLowering.cpp
index a76473f7e5392b857763403b3e4dbaf5c063e410..a7817f4f67dd204530083477bdffa7327a96c0f3 100644
(file)
--- a/
lib/Target/AArch64/AArch64FrameLowering.cpp
+++ b/
lib/Target/AArch64/AArch64FrameLowering.cpp
@@
-354,7
+354,6
@@
void AArch64FrameLowering::emitPrologue(MachineFunction &MF,
if (NumBytes && NeedsRealignment) {
// Use the first callee-saved register as a scratch register.
scratchSPReg = AArch64::X9;
- MF.getRegInfo().setPhysRegUsed(scratchSPReg);
}
// If we're a leaf function, try using the red zone.