diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-26 08:25:06 +0000 |
commit | e3ff5ada8a8f6cc166ecc45147da0d63c3683026 (patch) | |
tree | ccd4a6b0d605384b41f7d3b84cc019344c2dd65a /test/Integer/newcasts_bt.ll | |
parent | 950bf6030101d670ea205efd307ea5d3b375544d (diff) | |
download | llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.gz llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.bz2 llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.xz |
For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645:
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer/newcasts_bt.ll')
-rw-r--r-- | test/Integer/newcasts_bt.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Integer/newcasts_bt.ll b/test/Integer/newcasts_bt.ll index 446a007315..e2eee4f7f1 100644 --- a/test/Integer/newcasts_bt.ll +++ b/test/Integer/newcasts_bt.ll @@ -2,7 +2,7 @@ ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll -define void "NewCasts" (i17 %x) { +define void @"NewCasts" (i17 %x) { %a = zext i17 %x to i32 %b = sext i17 %x to i32 %c = trunc i17 %x to i8 @@ -19,10 +19,10 @@ define void "NewCasts" (i17 %x) { } -define i17 "ZExtConst" () { +define i17 @"ZExtConst" () { ret i17 trunc ( i32 zext ( i17 42 to i32) to i17 ) } -define i17 "SExtConst" () { +define i17 @"SExtConst" () { ret i17 trunc (i32 sext (i17 42 to i32) to i17 ) } |