summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/split-index-tc.ll
Commit message (Collapse)AuthorAgeFilesLines
* Enable splitting indexing from loads with TargetConstantsHal Finkel2014-09-021-0/+82
When I recommitted r208640 (in r216898) I added an exclusion for TargetConstant offsets, as there is no guarantee that a backend can handle them on generic ADDs (even if it generates them during address-mode matching) -- and, specifically, applying this transformation directly with TargetConstants caused a self-hosting failure on PPC64. Ignoring all TargetConstants, however, is less than ideal. Instead, for non-opaque constants, we can convert them into regular constants for use with the generated ADD (or SUB). llvm-svn: 216908
OpenPOWER on IntegriCloud