OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d63289b
)
Fix issue with r203865. The old behaviour would get a MachineOperand then find the...
author
Pete Cooper
<peter_cooper@apple.com>
Fri, 14 Mar 2014 02:28:05 +0000
(
02:28
+0000)
committer
Pete Cooper
<peter_cooper@apple.com>
Fri, 14 Mar 2014 02:28:05 +0000
(
02:28
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203883
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/InlineSpiller.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/InlineSpiller.cpp
b/lib/CodeGen/InlineSpiller.cpp
index
64211c8
..
5bf7b11
100644
(file)
--- a/
lib/CodeGen/InlineSpiller.cpp
+++ b/
lib/CodeGen/InlineSpiller.cpp
@@
-1196,7
+1196,7
@@
void InlineSpiller::spillAroundUses(unsigned Reg) {
for (MachineRegisterInfo::reg_bundle_iterator
RegI = MRI.reg_bundle_begin(Reg), E = MRI.reg_bundle_end();
RegI != E; ) {
- MachineInstr *MI =
&*(RegI++
);
+ MachineInstr *MI =
getBundleStart(&*(RegI++)
);
// Debug values are not allowed to affect codegen.
if (MI->isDebugValue()) {