Remove predicates when changing an add into an unpredicable mov.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 19 Jan 2010 21:08:28 +0000 (21:08 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 19 Jan 2010 21:08:28 +0000 (21:08 +0000)
commit35f0febcb66b5a50a5a750efcbefc95f7fc25c7b
treef545cbf159ceb99abbb47af616dc8f4fb1c77fbb
parentdcff928b593ed443bab4713164bdaf2bd596259e
Remove predicates when changing an add into an unpredicable mov.

Since the mov is executed unconditionally, make sure that the add didn't have
any predicate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93909 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb1RegisterInfo.cpp
lib/Target/ARM/Thumb2InstrInfo.cpp
test/CodeGen/Thumb2/2010-01-19-RemovePredicates.ll [new file with mode: 0644]