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:
fe12555
)
an attempt to salvage the darwin9-powerpc buildbot, which could be miscompiling this...
author
Gabor Greif
<ggreif@gmail.com>
Tue, 14 Sep 2010 22:25:16 +0000
(22:25 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Tue, 14 Sep 2010 22:25:16 +0000
(22:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113876
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMBaseInstrInfo.cpp
b/lib/Target/ARM/ARMBaseInstrInfo.cpp
index 05870b800c6d31d758c6fdd7f62348a93c7ca710..80c914342c035812aa3eb0881cce3e116bd6e350 100644
(file)
--- a/
lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/
lib/Target/ARM/ARMBaseInstrInfo.cpp
@@
-1373,7
+1373,7
@@
AnalyzeCompare(const MachineInstr *MI, unsigned &SrcReg, int &CmpValue) const {
CmpValue = MI->getOperand(1).getImm();
return true;
case ARM::TSTri: {
- if (
MI->getParent()->begin() == MachineBasicBlock::const_iterator(MI)
)
+ if (
&*MI->getParent()->begin() == MI
)
return false;
const MachineInstr *AND = llvm::prior(MI);
if (AND->getOpcode() != ARM::ANDri)
@@
-1385,6
+1385,7
@@
AnalyzeCompare(const MachineInstr *MI, unsigned &SrcReg, int &CmpValue) const {
return true;
}
}
+ break;
}
return false;