[PATCH] D57748: AMDGPU: Add inverse ballot intrinsic

Connor Abbott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 5 08:30:17 PST 2019


cwabbott updated this revision to Diff 185317.
cwabbott added a comment.

- Added a pseudoinstruction lowered in SILowerI1Copies, and legalized it more

similarly to how other instructions are legalized.

- Added tests where the source is a uniform and non-uniform phi node. I had to

to use the amdgpu_ps calling convention here to get the arguments into SGPR's.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57748/new/

https://reviews.llvm.org/D57748

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/AMDGPUSearchableTables.td
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstructions.td
  lib/Target/AMDGPU/SILowerI1Copies.cpp
  test/CodeGen/AMDGPU/llvm.amdgcn.inverse.ballot.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57748.185317.patch
Type: text/x-patch
Size: 6837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190205/8d99469c/attachment-0001.bin>


More information about the llvm-commits mailing list