diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-16 15:31:49 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-16 15:31:49 +0000 |
commit | 43b40035baca3c0a66d3af538f8d5347fb4ceea6 (patch) | |
tree | 1657abce2d09c3606f31708c09a401b0a2e8abd6 /test/CodeGen/X86/trunc-to-bool.ll | |
parent | 4cda190ef512853b290db8b4054367fa2e3e094c (diff) | |
download | external_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/CodeGen/X86/trunc-to-bool.ll')
-rw-r--r-- | test/CodeGen/X86/trunc-to-bool.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/X86/trunc-to-bool.ll b/test/CodeGen/X86/trunc-to-bool.ll index 667fc2f..bf53825 100644 --- a/test/CodeGen/X86/trunc-to-bool.ll +++ b/test/CodeGen/X86/trunc-to-bool.ll @@ -1,8 +1,7 @@ ; An integer truncation to i1 should be done with an and instruction to make ; sure only the LSBit survives. Test that this is the case both for a returned ; value and as the operand of a branch. -; RUN: llvm-as < %s | llc -march=x86 && -; RUN: llvm-as < %s | llc -march=x86 | grep '\(and\)\|\(test.*\$1\)' | \ +; RUN: llvm-as < %s | llc -march=x86 | grep {\\(and\\)\\|\\(test.*\\\$1\\)} | \ ; RUN: wc -l | grep 6 define i1 @test1(i32 %X) zext { |