[PATCH] D12067: AMDGPU: Refactor exp instructions
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 30 01:37:07 PDT 2015
> On Aug 28, 2015, at 4:51 PM, Tom Stellard via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>
> 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)
The type for this intrinsic is wrong. According to the intrinsic definition the last 4 arguments are float. It’s a bug that this was accepted before
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150830/388486c0/attachment.html>
More information about the llvm-commits
mailing list