aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/ConstProp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-16 15:31:49 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-16 15:31:49 +0000
commit43b40035baca3c0a66d3af538f8d5347fb4ceea6 (patch)
tree1657abce2d09c3606f31708c09a401b0a2e8abd6 /test/Transforms/ConstProp
parent4cda190ef512853b290db8b4054367fa2e3e094c (diff)
downloadexternal_llvm-43b40035baca3c0a66d3af538f8d5347fb4ceea6.zip
external_llvm-43b40035baca3c0a66d3af538f8d5347fb4ceea6.tar.gz
external_llvm-43b40035baca3c0a66d3af538f8d5347fb4ceea6.tar.bz2
For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ConstProp')
-rw-r--r--test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll3
-rw-r--r--test/Transforms/ConstProp/logicaltest.ll3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll b/test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
index 6b6b340..cf44346 100644
--- a/test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
+++ b/test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
@@ -1,6 +1,7 @@
; SetCC on boolean values was not implemented!
-; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | not grep 'set'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | \
+; RUN: not grep set
bool "test1"() {
%A = setle bool true, false
diff --git a/test/Transforms/ConstProp/logicaltest.ll b/test/Transforms/ConstProp/logicaltest.ll
index dfd4586..ce31114 100644
--- a/test/Transforms/ConstProp/logicaltest.ll
+++ b/test/Transforms/ConstProp/logicaltest.ll
@@ -1,6 +1,7 @@
; Ensure constant propogation of logical instructions is working correctly.
-; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | not egrep 'and|or|xor'
+; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | \
+; RUN: not egrep {and|or|xor}
int "test1"() { %R = and int 4,1234 ret int %R }