[PATCH] D12067: AMDGPU: Refactor exp instructions

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 16:51:40 PDT 2015


tstellarAMD added a comment.

I'm see cannot select error for EXPORT_DONE with this test case:

define void @main([9 x <16 x i8>] addrspace(2)* byval, [17 x <16 x i8>] addrspace(2)* byval, [17 x <4 x i32>] addrspace(2)* byval, [34 x <8 x i32>] addrspace(2)* byval, float inreg, i32 inreg, <2 x i32>, <2 x i32>, <2 x i32>, <3 x i32>, <2 x i32>, <2 x i32>, <2 x i32>, float, float, float, float, float, float, i32, float, float) #0 {
main_body:

  call void @llvm.SI.export(i32 0, i32 1, i32 1, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0)
  ret void

}

declare void @llvm.SI.export(i32, i32, i32, i32, i32, i32, i32, i32, i32)

attributes #0 = { "ShaderType"="0" "enable-no-nans-fp-math"="true" }


http://reviews.llvm.org/D12067





More information about the llvm-commits mailing list