[llvm] [AMDGPU] Add intrinsic readanylane (PR #115696)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 05:29:15 PST 2024


================
@@ -1081,6 +1081,7 @@ GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC, IntrinsicInst &II) const {
   }
   case Intrinsic::amdgcn_permlane64:
   case Intrinsic::amdgcn_readfirstlane:
+  case Intrinsic::amdgcn_readanylane:
----------------
jayfoad wrote:

Add some tests for this in `test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll`

https://github.com/llvm/llvm-project/pull/115696


More information about the llvm-commits mailing list