summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 05:16:38 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 05:16:38 +0000
commitae81c8880afdbedd39dcc0a5107b4caf994c1a91 (patch)
treefffbb320e8b75b8cfcc9d1e829a377e7012032cb /llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
parent5374aeae70026b1f8ea7d96752eb90ed16c3728d (diff)
downloadbcm5719-llvm-ae81c8880afdbedd39dcc0a5107b4caf994c1a91.tar.gz
bcm5719-llvm-ae81c8880afdbedd39dcc0a5107b4caf994c1a91.zip
For PR1319:
Convert to new test system. This exposes IsDigit.ll as failing. llvm-svn: 36046
Diffstat (limited to 'llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll')
-rw-r--r--llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll b/llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
index 7c78355e6d2..5a56d24a35a 100644
--- a/llvm/test/Transforms/SimplifyLibCalls/2007-04-06-strchr-miscompile.ll
+++ b/llvm/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
+; 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"
OpenPOWER on IntegriCloud