OSDN Git Service

OptimizeCompareInstr should avoid iterating pass the beginning of the MBB when the...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 21 Sep 2010 23:49:07 +0000 (23:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 21 Sep 2010 23:49:07 +0000 (23:49 +0000)
commit691e64a54ce899409abe7c131d15ed75e3c1fef5
tree2e5a7d62be915c5c6e86a9328d06dd9fbad753b1
parent882ef2b76a09cdc39d38756fca71cf6cf25ae590
OptimizeCompareInstr should avoid iterating pass the beginning of the MBB when the 'and' instruction is after the comparison.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114506 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/2010-09-21-OptCmpBug.ll [new file with mode: 0644]