aboutsummaryrefslogtreecommitdiffstats
path: root/test/Bitcode/2006-12-11-Cast-ConstExpr.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-17 00:13:09 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-17 00:13:09 +0000
commit2d290f9dc4503a038f61e7cbc6717b478817c4cc (patch)
treecf74676c29b1354989db5f4f95b029187dfbac45 /test/Bitcode/2006-12-11-Cast-ConstExpr.ll
parent26fdb11e4eee597b1b8980336bfde6af1e04273c (diff)
downloadexternal_llvm-2d290f9dc4503a038f61e7cbc6717b478817c4cc.zip
external_llvm-2d290f9dc4503a038f61e7cbc6717b478817c4cc.tar.gz
external_llvm-2d290f9dc4503a038f61e7cbc6717b478817c4cc.tar.bz2
Remove llvm-upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bitcode/2006-12-11-Cast-ConstExpr.ll')
-rw-r--r--test/Bitcode/2006-12-11-Cast-ConstExpr.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Bitcode/2006-12-11-Cast-ConstExpr.ll b/test/Bitcode/2006-12-11-Cast-ConstExpr.ll
index 4c768d6..7e6bb7b 100644
--- a/test/Bitcode/2006-12-11-Cast-ConstExpr.ll
+++ b/test/Bitcode/2006-12-11-Cast-ConstExpr.ll
@@ -1,10 +1,10 @@
; This test ensures that we get a bitcast constant expression in and out,
; not a sitofp constant expression.
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \
+; RUN: llvm-as < %s | llvm-dis | \
; RUN: grep {bitcast (}
-%G = external global int
+@G = external global i32
-float %tryit(int %A) {
- ret float bitcast( int ptrtoint (int* %G to int) to float)
+define float @tryit(i32 %A) {
+ ret float sitofp( i32 ptrtoint (i32* @G to i32) to float)
}