OSDN Git Service

Size reducing SP adjusting t2ADDri needs to check predication.
authorJim Grosbach <grosbach@apple.com>
Thu, 30 Jun 2011 02:22:49 +0000 (02:22 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 30 Jun 2011 02:22:49 +0000 (02:22 +0000)
commit41ca4b7b62fc40b3207eff0526171653605efa19
treef87d585a2481b4a2f9ce7ba0791509ae9a8cd3e9
parent4cc446bc400b2ff58af81c91f5e145b81d6beb26
Size reducing SP adjusting t2ADDri needs to check predication.

tADDrSPi is not predicable, so we can't size-reduce a t2ADDri to it if the
predicate is anything other than "always."

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134130 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb2SizeReduction.cpp