aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2016-03-18 16:24:20 +0000
committerNicolai Haehnle <nhaehnle@gmail.com>2016-03-18 16:24:20 +0000
commit3003ba00a3260bdee71dd802bcfa970c3580e6bb (patch)
tree2ee90f91725b6c097dbf0def5e621966580566e2 /llvm/lib/Support/StringRef.cpp
parenta74cd526e9b273f1ca99793e62dfb6d1396bf6b3 (diff)
downloadllvm-3003ba00a3260bdee71dd802bcfa970c3580e6bb.zip
llvm-3003ba00a3260bdee71dd802bcfa970c3580e6bb.tar.gz
llvm-3003ba00a3260bdee71dd802bcfa970c3580e6bb.tar.bz2
AMDGPU: use ComplexPattern for offsets in llvm.amdgcn.buffer.load/store.format
Summary: We cannot easily deduce that an offset is in an SGPR, but the Mesa frontend cannot easily make use of an explicit soffset parameter either. Furthermore, it is likely that in the future, LLVM will be in a better position than the frontend to choose an SGPR offset if possible. Since there aren't any frontend uses of these intrinsics in upstream repositories yet, I would like to take this opportunity to change the intrinsic signatures to a single offset parameter, which is then selected to immediate offsets or voffsets using a ComplexPattern. Reviewers: arsenm, tstellarAMD, mareko Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D18218 llvm-svn: 263790
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions