diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-07-31 12:58:26 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-07-31 12:58:26 +0000 |
commit | 04ded924f3583438c6633823eddb87761fa73cce (patch) | |
tree | b79b516513939f4d5517ef0b1c7ef1ea222129ee /lib/ExecutionEngine/MCJIT | |
parent | 15715fb689a5c7a2476c943a7b06616bd6d67d5e (diff) | |
download | external_llvm-04ded924f3583438c6633823eddb87761fa73cce.zip external_llvm-04ded924f3583438c6633823eddb87761fa73cce.tar.gz external_llvm-04ded924f3583438c6633823eddb87761fa73cce.tar.bz2 |
[SystemZ] Implement isLegalAddressingMode()
The loop optimizers were assuming that scales > 1 were OK. I think this
is actually a bug in TargetLoweringBase::isLegalAddressingMode(),
since it seems to be trying to reject anything that isn't r+i or r+r,
but it has no default case for scales other than 0, 1 or 2. Implementing
the hook for z means that z can no longer test any change there though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/MCJIT')
0 files changed, 0 insertions, 0 deletions