aboutsummaryrefslogtreecommitdiff
path: root/test/Integer/paramattrs_bt.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Integer/paramattrs_bt.ll')
-rw-r--r--test/Integer/paramattrs_bt.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Integer/paramattrs_bt.ll b/test/Integer/paramattrs_bt.ll
index 47ef7539b3..6db9a53042 100644
--- a/test/Integer/paramattrs_bt.ll
+++ b/test/Integer/paramattrs_bt.ll
@@ -5,15 +5,15 @@
%ZFunTy = type i33(i8 zeroext)
%SFunTy = type i33(i8 signext)
-declare i16 @"test"(i16 signext %arg) signext
-declare i8 @"test2" (i16 zeroext %a2) zeroext
+declare signext i16 @"test"(i16 signext %arg)
+declare zeroext i8 @"test2" (i16 zeroext %a2)
define i33 @main(i33 %argc, i8 **%argv) {
%val = trunc i33 %argc to i16
- %res = call i16 (i16 signext) signext *@test(i16 signext %val) signext
+ %res = call signext i16 (i16 signext) *@test(i16 signext %val)
%two = add i16 %res, %res
- %res2 = call i8 @test2(i16 %two zeroext) zeroext
+ %res2 = call zeroext i8 @test2(i16 zeroext %two )
%retVal = sext i16 %two to i33
ret i33 %retVal
}