projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix inserting new elements in a specified location.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-01-06-VoidCast.ll
diff --git
a/test/Transforms/InstCombine/2008-01-06-VoidCast.ll
b/test/Transforms/InstCombine/2008-01-06-VoidCast.ll
index d31d4ac6f77b6950590c28ba1f3d25ed78ef2260..ebd5c4229d41e03ee6034d427bbbef441a06f4e0 100644
(file)
--- a/
test/Transforms/InstCombine/2008-01-06-VoidCast.ll
+++ b/
test/Transforms/InstCombine/2008-01-06-VoidCast.ll
@@
-1,9
+1,9
@@
-; RUN: opt
%s -instcombine -S | not grep bitcast
+; RUN: opt
< %s -instcombine -S | FileCheck %s
define void @f(i16 %y) {
ret void
}
define void @f(i16 %y) {
ret void
}
-
+; CHECK-NOT: bitcast
define i32 @g(i32 %y) {
%x = call i32 bitcast (void (i16)* @f to i32 (i32)*)( i32 %y ) ; <i32> [#uses=1]
ret i32 %x
define i32 @g(i32 %y) {
%x = call i32 bitcast (void (i16)* @f to i32 (i32)*)( i32 %y ) ; <i32> [#uses=1]
ret i32 %x