aboutsummaryrefslogtreecommitdiff
path: root/test/Integer
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-17 17:37:13 +0000
committerChris Lattner <sabre@nondot.org>2011-06-17 17:37:13 +0000
commita16546a70bc8cdf609e9e10beb20925e54a88d77 (patch)
treea670fed5f8c73a1386a2e1d2a8e708256cf793bc /test/Integer
parenta6591969ffa7b022656db25f33788fcf57361ac5 (diff)
Stop accepting and ignoring attributes in function types. Attributes are applied
to functions and call/invokes, not to types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer')
-rw-r--r--test/Integer/paramattrs_bt.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/Integer/paramattrs_bt.ll b/test/Integer/paramattrs_bt.ll
deleted file mode 100644
index 6db9a53042..0000000000
--- a/test/Integer/paramattrs_bt.ll
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis > %t1.ll
-; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
-; RUN: diff %t1.ll %t2.ll
-
-%ZFunTy = type i33(i8 zeroext)
-%SFunTy = type i33(i8 signext)
-
-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 signext i16 (i16 signext) *@test(i16 signext %val)
- %two = add i16 %res, %res
- %res2 = call zeroext i8 @test2(i16 zeroext %two )
- %retVal = sext i16 %two to i33
- ret i33 %retVal
-}