diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2022-11-09 16:45:02 +0000 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2022-11-09 16:45:05 +0000 |
commit | 0ba0398517778514eb44cb7ba9bf9d4d20a856e0 (patch) | |
tree | 43824e0560d9db3531a0cace0cc0f032def7cfdb /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | b1fdeeec1a5a570be57bca17fcc647892d2030ab (diff) | |
download | llvm-0ba0398517778514eb44cb7ba9bf9d4d20a856e0.zip llvm-0ba0398517778514eb44cb7ba9bf9d4d20a856e0.tar.gz llvm-0ba0398517778514eb44cb7ba9bf9d4d20a856e0.tar.bz2 |
[amdgpu][lds] Use the same isKernel predicate consistently
isKernelCC != isKernel(F->getCallingConv())
There's a test case (lower-kernel-lds.ll) that explicitly skips amdgpu_ps
so this change picks the isKernel predicate that continues to skip that
calling convention.
isKernel returns true for AMDGPU_KERNEL and SPIR_KERNEL. isKernelCC also
returns true for other calling conventions.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D136599
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions