projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For PR1319:
[oota-llvm.git]
/
test
/
Transforms
/
SimplifyLibCalls
/
2007-04-06-strchr-miscompile.ll
diff --git
a/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
b/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
index 7c78355e6d2678172c958468f892c97f006c1303..5a56d24a35abe9a1ea0c7cee29159d235b880a81 100644
(file)
--- a/
test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
+++ b/
test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
@@
-1,8
+1,9
@@
-; RUN: llvm-as < %s | opt -simplify-libcalls -instcombine | llvm-dis > %t &&
-; RUN: grep '@str,.*i64 3' %t &&
-; RUN: grep '@str1,.*i64 7' %t &&
-; RUN: grep 'ret i8.*null' %t
; PR1307
; PR1307
+; RUN: llvm-as < %s | opt -simplify-libcalls -instcombine | llvm-dis > %t
+; RUN: grep {@str,.*i64 3} %t
+; RUN: grep {@str1,.*i64 7} %t
+; RUN: grep {ret i8.*null} %t
+; END.
@str = internal constant [5 x i8] c"foog\00"
@str1 = internal constant [8 x i8] c"blahhh!\00"
@str = internal constant [5 x i8] c"foog\00"
@str1 = internal constant [8 x i8] c"blahhh!\00"