projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LoopVectorize: Vectorize all accesses in address space zero with unit stride
[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..e704627e3610ba142d826de4bcb909157ea291cc 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-as | llvm-dis | \
-;
RUN: grep {bitcast (}
+; RUN: llvm-
as < %s | llvm-dis | FileCheck %s
+;
CHECK: 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)
}
}