projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08bdfe2
)
Live-in copies go *after* EH_LABELs.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 4 Jul 2013 04:32:35 +0000
(
04:32
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 4 Jul 2013 04:32:35 +0000
(
04:32
+0000)
This will soon be tested by exception handling working at all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185615
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineBasicBlock.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineBasicBlock.cpp
b/lib/CodeGen/MachineBasicBlock.cpp
index 7bb0d32e6b13021185b4854390ec5c7c197d36c0..563327171289e1c21f05ed665cd4610f79580481 100644
(file)
--- a/
lib/CodeGen/MachineBasicBlock.cpp
+++ b/
lib/CodeGen/MachineBasicBlock.cpp
@@
-351,7
+351,7
@@
MachineBasicBlock::addLiveIn(unsigned PhysReg, const TargetRegisterClass *RC) {
"Only the entry block and landing pads can have physreg live ins");
bool LiveIn = isLiveIn(PhysReg);
- iterator I =
getFirstNonPHI(
), E = end();
+ iterator I =
SkipPHIsAndLabels(begin()
), E = end();
MachineRegisterInfo &MRI = getParent()->getRegInfo();
const TargetInstrInfo &TII = *getParent()->getTarget().getInstrInfo();