fold immediate of a + Const into the user as a subtract if it can fit as a negated...
authorJim Grosbach <grosbach@apple.com>
Mon, 23 Nov 2009 20:35:53 +0000 (20:35 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 23 Nov 2009 20:35:53 +0000 (20:35 +0000)
commit15e6ef886deedafaf3fcbca8226891ba54dbff9d
treeefc7847173e58fd77bee395e2299932a6397fe79
parentb16ed11cb4ca0a55647335847bd69a3810290be9
fold immediate of a + Const into the user as a subtract if it can fit as a negated two-part immediate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89694 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td