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:
50f424c
)
tidy up style. no functional change.
author
Jim Grosbach
<grosbach@apple.com>
Mon, 28 Jun 2010 21:29:17 +0000
(21:29 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Mon, 28 Jun 2010 21:29:17 +0000
(21:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107073
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/Thumb2HazardRecognizer.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/Thumb2HazardRecognizer.cpp
b/lib/Target/ARM/Thumb2HazardRecognizer.cpp
index 3fe31a2b4851bda04a0f5b29512304b440788652..172908da228a852414abe6c99d504712e19561de 100644
(file)
--- a/
lib/Target/ARM/Thumb2HazardRecognizer.cpp
+++ b/
lib/Target/ARM/Thumb2HazardRecognizer.cpp
@@
-41,9
+41,10
@@
void Thumb2HazardRecognizer::EmitInstruction(SUnit *SU) {
ITBlockSize = 4 - NumTZ;
MachineBasicBlock::iterator I = MI;
for (unsigned i = 0; i < ITBlockSize; ++i) {
- ++I;
- while (I->isDebugValue())
+ // Advance to the next instruction, skipping any dbg_value instructions.
+ do {
++I;
+ } while (I->isDebugValue());
ITBlockMIs[ITBlockSize-1-i] = &*I;
}
}