diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-17 17:37:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-17 17:37:13 +0000 |
commit | 6bc5c89093e934b203bda07e5e51039495207a21 (patch) | |
tree | 08b4dbfe9a020a4114b0289c907c01f15f2a68e4 /llvm/test/Integer | |
parent | 2ce8399a2d7cd53a18d8c6f559d99ce90123ff69 (diff) | |
download | bcm5719-llvm-6bc5c89093e934b203bda07e5e51039495207a21.tar.gz bcm5719-llvm-6bc5c89093e934b203bda07e5e51039495207a21.zip |
Stop accepting and ignoring attributes in function types. Attributes are applied
to functions and call/invokes, not to types.
llvm-svn: 133266
Diffstat (limited to 'llvm/test/Integer')
-rw-r--r-- | llvm/test/Integer/paramattrs_bt.ll | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/test/Integer/paramattrs_bt.ll b/llvm/test/Integer/paramattrs_bt.ll deleted file mode 100644 index 6db9a530424..00000000000 --- a/llvm/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 -} |