diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-09-02 16:05:23 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-09-02 16:05:23 +0000 |
commit | e19006ea22343466cf3799287a0cb3b4b8c4e151 (patch) | |
tree | 06afaa596421425becae146a63135ddbf6b20141 /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
parent | c5c4e3a35b101b4cb090676998e39a4d2de9ba30 (diff) | |
download | llvm-e19006ea22343466cf3799287a0cb3b4b8c4e151.zip llvm-e19006ea22343466cf3799287a0cb3b4b8c4e151.tar.gz llvm-e19006ea22343466cf3799287a0cb3b4b8c4e151.tar.bz2 |
Enable splitting indexing from loads with TargetConstants
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
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions