aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/paramattrs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/paramattrs.ll')
-rw-r--r--test/Feature/paramattrs.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Feature/paramattrs.ll b/test/Feature/paramattrs.ll
index 329b875..0926f13 100644
--- a/test/Feature/paramattrs.ll
+++ b/test/Feature/paramattrs.ll
@@ -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
}