OSDN Git Service

Teach the ARM peephole optimizer that RSB, RSC, ADC, and SBC can be used for folded...
authorOwen Anderson <resistor@mac.com>
Wed, 6 Apr 2011 23:35:59 +0000 (23:35 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 6 Apr 2011 23:35:59 +0000 (23:35 +0000)
commitdf298c9ea64eb335f63fc075d8ef6306682ffe75
treef018cf1b4a2cb10c1385cddb772fd995eff0c0ae
parentef7fb17936ef38153e0a8c8146229d618722eb15
Teach the ARM peephole optimizer that RSB, RSC, ADC, and SBC can be used for folded comparisons, just like ADD and SUB.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/sub.ll