[PATCH] D75187: [AMDGPU][ConstantFolding] Fold llvm.amdgcn.cube* intrinsics

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 08:32:57 PST 2020


foad created this revision.
foad added reviewers: nhaehnle, arsenm, rampitec.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

This folds the following family of intrinsics:
llvm.amdgcn.cubeid (face id)
llvm.amdgcn.cubema (major axis)
llvm.amdgcn.cubesc (S coordinate)
llvm.amdgcn.cubetc (T coordinate)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75187

Files:
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/test/Analysis/ConstantFolding/AMDGPU/cubeid.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/cubema.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/cubesc.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/cubetc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75187.246744.patch
Type: text/x-patch
Size: 41477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200226/e0bfc113/attachment.bin>


More information about the llvm-commits mailing list