[PATCH] D17940: SelectionDAG: Fix a crash on inline asm when output register supports multiple types
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 13:58:13 PST 2016
arsenm added inline comments.
================
Comment at: test/CodeGen/AMDGPU/inline-asm.ll:50
@@ +49,3 @@
+define void @v_cmp_asm(i64 addrspace(1)* %out, i32 %in) {
+ %sgpr = tail call i64 asm "v_cmp_ne_i32_e64 $0, 0, $1", "=s,v"(i32 %in)
+ store i64 %sgpr, i64 addrspace(1)* %out
----------------
Shouldn't this have an i1 return type?
http://reviews.llvm.org/D17940
More information about the llvm-commits
mailing list