diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 16:10:32 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 16:10:32 +0000 |
commit | 5efb967052a172822349c9cb60fb0a48743b70b6 (patch) | |
tree | 1412aa1a472316689142309fcc35b7bca6f843cd | |
parent | 888fa33cfbd55b8944f971886eeda1bbca406af4 (diff) | |
download | external_llvm-5efb967052a172822349c9cb60fb0a48743b70b6.zip external_llvm-5efb967052a172822349c9cb60fb0a48743b70b6.tar.gz external_llvm-5efb967052a172822349c9cb60fb0a48743b70b6.tar.bz2 |
Fix some more quoting issues in RUN lines, this time regarding unintended
variable expansions involving the $ character.
This fixes 4 tests that were not running properly before.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52183 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/Generic/switch-lower-feature.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/X86/dollar-name.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/X86/loop-strength-reduce2.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/vec_insert-2.ll | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/test/CodeGen/Generic/switch-lower-feature.ll b/test/CodeGen/Generic/switch-lower-feature.ll index 989693c..0523401 100644 --- a/test/CodeGen/Generic/switch-lower-feature.ll +++ b/test/CodeGen/Generic/switch-lower-feature.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$7 | count 1 -; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$6 | count 1 +; RUN: llvm-as < %s | llc -march=x86 -o - | grep {\$7} | count 1 +; RUN: llvm-as < %s | llc -march=x86 -o - | grep {\$6} | count 1 ; RUN: llvm-as < %s | llc -march=x86 -o - | grep 1024 | count 1 ; RUN: llvm-as < %s | llc -march=x86 -o - | grep jb | count 2 ; RUN: llvm-as < %s | llc -march=x86 -o - | grep je | count 1 diff --git a/test/CodeGen/X86/dollar-name.ll b/test/CodeGen/X86/dollar-name.ll index 0573056..9d9235e 100644 --- a/test/CodeGen/X86/dollar-name.ll +++ b/test/CodeGen/X86/dollar-name.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep (\$bar) | count 1 -; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep (\$qux) | count 1 -; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep (\$hen) | count 1 +; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$bar)} | count 1 +; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$qux)} | count 1 +; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$hen)} | count 1 ; PR1339 @"$bar" = global i32 zeroinitializer diff --git a/test/CodeGen/X86/loop-strength-reduce2.ll b/test/CodeGen/X86/loop-strength-reduce2.ll index 839b295..507a9e5 100644 --- a/test/CodeGen/X86/loop-strength-reduce2.ll +++ b/test/CodeGen/X86/loop-strength-reduce2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -relocation-model=pic | grep '\$pb' | grep mov +; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -relocation-model=pic | grep {\$pb} | grep mov ; ; Make sure the PIC label flags2-"L1$pb" is not moved up to the preheader. diff --git a/test/CodeGen/X86/vec_insert-2.ll b/test/CodeGen/X86/vec_insert-2.ll index ab90293..8207afe 100644 --- a/test/CodeGen/X86/vec_insert-2.ll +++ b/test/CodeGen/X86/vec_insert-2.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep '\$132,' | count 2 -; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep '\$2,' | count 2 +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep {\$132,} | count 2 +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep {\$2,} | count 2 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep shufps | count 4 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep pinsrw | count 1 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movhpd | count 1 |