projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR11061: Make simplifylibcalls fold strcmp("", x) correctly.
[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 5a56d24a35abe9a1ea0c7cee29159d235b880a81..8e9f2062cded42611a48f06bab40df8e8c269f59 100644
(file)
--- a/
test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
+++ b/
test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
@@
-1,5
+1,5
@@
; PR1307
-; RUN:
llvm-as < %s | opt -simplify-libcalls -instcombine | llvm-dis
> %t
+; RUN:
opt < %s -simplify-libcalls -instcombine -S
> %t
; RUN: grep {@str,.*i64 3} %t
; RUN: grep {@str1,.*i64 7} %t
; RUN: grep {ret i8.*null} %t