aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorSebastian Neubauer <sebastian.neubauer@amd.com>2021-05-03 10:14:12 +0200
committerSebastian Neubauer <sebastian.neubauer@amd.com>2021-05-07 14:51:32 +0200
commit13c0316239dc31a34262f2270d0952aa152a9a76 (patch)
treef5a73fd2e5f7e874f852a52b15384d2e0ce46f69 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent606d4e806192013ff7da33351f671d08b4524438 (diff)
downloadllvm-13c0316239dc31a34262f2270d0952aa152a9a76.zip
llvm-13c0316239dc31a34262f2270d0952aa152a9a76.tar.gz
llvm-13c0316239dc31a34262f2270d0952aa152a9a76.tar.bz2
[AMDGPU] Restrict immediate scratch offsets
gfx9 does not work with negative offsets, gfx10 works only with aligned negative offsets, but not with unaligned negative offsets. This is slightly more conservative than needed, gfx9 does support negative offsets when a VGPR address is used and gfx10 supports negative, unaligned offsets when an SGPR address is used, but we do not make use of that with this patch. Differential Revision: https://reviews.llvm.org/D101292
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions