aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/algorithm.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-08-15 17:17:07 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-08-15 17:17:07 +0000
commit5015a89aa50b20c1a5539f00cb375eca661da7e2 (patch)
tree91c6ea4019c35027707a2c98fa8d654f091a4f76 /libcxx/src/algorithm.cpp
parent1e08577586b234b63820d2da4c29723fe7976b73 (diff)
downloadllvm-5015a89aa50b20c1a5539f00cb375eca661da7e2.zip
llvm-5015a89aa50b20c1a5539f00cb375eca661da7e2.tar.gz
llvm-5015a89aa50b20c1a5539f00cb375eca661da7e2.tar.bz2
R600/SI: Implement isLegalAddressingMode
The default assumes that a 16-bit signed offset is used. LDS instruction use a 16-bit unsigned offset, so it wasn't being used in some cases where it was assumed a negative offset could be used. More should be done here, but first isLegalAddressingMode needs to gain an addressing mode argument. For now, copy most of the rest of the default implementation with the immediate offset change. llvm-svn: 215732
Diffstat (limited to 'libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions