OSDN Git Service

AMDGPU: Don't error on ds.ordered intrinsic in function
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 5 Jan 2020 19:16:22 +0000 (14:16 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 24 Jan 2020 21:06:44 +0000 (13:06 -0800)
commit87c46a312975b193bf056b992ae6d778e528026b
tree29eed99b1972520c217bf90a6e0abcd4042cf819
parent36b887ed15a2d42e34abd9dec96c06779517284c
AMDGPU: Don't error on ds.ordered intrinsic in function

These should be assumed to be called from a compute context. Also
don't use a 2 entry switch over constants.
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.ordered.add.ll