projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relax this test to just check that the lock prefix is encoded properly,
[oota-llvm.git]
/
test
/
Bitcode
/
2006-12-11-Cast-ConstExpr.ll
diff --git
a/test/Bitcode/2006-12-11-Cast-ConstExpr.ll
b/test/Bitcode/2006-12-11-Cast-ConstExpr.ll
index 4c768d63cb6a4071feeb278aff10c8ff8a211701..6df8711fe708898a5d3f46c45182532c6df56026 100644
(file)
--- 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.
; This test ensures that we get a bitcast constant expression in and out,
; not a sitofp constant expression.
-; RUN: llvm-
upgrade < %s | llvm-a
s | llvm-dis | \
+; RUN: llvm-
as < %
s | llvm-dis | \
; RUN: grep {bitcast (}
; RUN: grep {bitcast (}
-%G = external global int
+@G = external global i32
-
float %tryit(int
%A) {
- ret float bitcast( i
nt ptrtoint (int* %G to int
) to float)
+
define float @tryit(i32
%A) {
+ ret float bitcast( i
32 ptrtoint (i32* @G to i32
) to float)
}
}