aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-07-20 05:17:54 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-07-20 05:17:54 +0000
commit04004716ff8813cd1e65f5e9256097bda4430bf9 (patch)
tree11048f8a2baf24c9f736de6fceb08d6705121901 /clang/lib/Basic/VirtualFileSystem.cpp
parente6bb895ab5359dd37ef06cb6d6cefb9218b33ef8 (diff)
downloadllvm-04004716ff8813cd1e65f5e9256097bda4430bf9.zip
llvm-04004716ff8813cd1e65f5e9256097bda4430bf9.tar.gz
llvm-04004716ff8813cd1e65f5e9256097bda4430bf9.tar.bz2
AMDGPU: Correct encoding for global instructions
The soffset field needs to be be set to 0x7f to disable it, not 0. 0 is interpreted as an SGPR offset. This should be enough to get basic usage of the global instructions working. Technically it is possible to use an SGPR_32 offset, but I'm not sure if it's correct with 64-bit pointers, but that is not handled now. This should also be cleaned up to be more similar to how different MUBUF modes are handled, and to have InstrMappings between the different types. llvm-svn: 308583
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions