IR: Conservatively verify inalloca arguments
[oota-llvm.git] / test / Transforms / InstCombine / call-cast-target-inalloca.ll
index baf97e0ce9a12923cbd196efab42c49c554ef870..90289e2468f85b161b012713cdbfbc40893232ca 100644 (file)
@@ -8,7 +8,7 @@ declare void @takes_i32_inalloca(i32* inalloca)
 
 define void @f() {
 ; CHECK-LABEL: define void @f()
-  %args = alloca i32
+  %args = alloca inalloca i32
   call void bitcast (void (i32)* @takes_i32 to void (i32*)*)(i32* inalloca %args)
 ; CHECK: call void bitcast
   ret void