For PR411:
[oota-llvm.git] / test / Feature / paramattrs.ll
index 329b875d8a4e0b0c798617449c093eec59a1d46b..0926f137e3fca7f4603820f3737daf526f912d4e 100644 (file)
@@ -12,9 +12,9 @@ implementation
 
 define i32 @main(i32 %argc, i8 **%argv) {
     %val = trunc i32 %argc to i16
-    %res = call i16 (i16 sext) sext *@test(i16 %val)
-    %two = add i16 %res, %res
-    %res = call i8 @test2(i16 %two zext) zext 
+    %res1 = call i16 (i16 sext) sext *@test(i16 %val)
+    %two = add i16 %res1, %res1
+    %res2 = call i8 @test2(i16 %two zext) zext 
     %retVal = sext i16 %two to i32
     ret i32 %retVal
 }