[llvm] [AMDGCN] Use ZExt when handling indices in insertment element (PR #85718)

Peter Rong via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 10:47:36 PDT 2024


================
@@ -1197,3 +1197,54 @@ reallyfinally:
   store <5 x double> %val, ptr %out, align 1
   ret void
 }
+
+define amdgpu_kernel void @zext_i1_as_index(i1 %Bool, ptr %Ptr, <4 x float> %Vec1, <4 x float> %Vec2) {
+; OPT-LABEL: @test(
----------------
DataCorrupted wrote:

Done

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


More information about the llvm-commits mailing list