diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-09-27 15:14:04 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-09-27 15:14:04 +0000 |
commit | 54b369166fcd71b95480361dcc0c2c767c6e6e74 (patch) | |
tree | 6df0f240ad7dead3e93e044810626c4fc92d19f4 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 8b5987eba5a080962cbc98ce5f006db3aa62ae2e (diff) | |
download | bcm5719-llvm-54b369166fcd71b95480361dcc0c2c767c6e6e74.tar.gz bcm5719-llvm-54b369166fcd71b95480361dcc0c2c767c6e6e74.zip |
[SystemZ] Improve handling of PC-relative addresses
The backend previously folded offsets into PC-relative addresses
whereever possible. That's the right thing to do when the address
can be used directly in a PC-relative memory reference (using things
like LRL). But if we have a register-based memory reference and need
to load the PC-relative address separately, it's better to use an anchor
point that could be shared with other accesses to the same area of the
variable.
Fixes a FIXME.
llvm-svn: 191524
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions