[llvm-commits] [llvm] r52183 - in /llvm/trunk/test/CodeGen: Generic/switch-lower-feature.ll X86/dollar-name.ll X86/loop-strength-reduce2.ll X86/vec_insert-2.ll
Matthijs Kooijman
matthijs at stdin.nl
Tue Jun 10 09:10:32 PDT 2008
Author: matthijs
Date: Tue Jun 10 11:10:32 2008
New Revision: 52183
URL: http://llvm.org/viewvc/llvm-project?rev=52183&view=rev
Log:
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.
Modified:
llvm/trunk/test/CodeGen/Generic/switch-lower-feature.ll
llvm/trunk/test/CodeGen/X86/dollar-name.ll
llvm/trunk/test/CodeGen/X86/loop-strength-reduce2.ll
llvm/trunk/test/CodeGen/X86/vec_insert-2.ll
Modified: llvm/trunk/test/CodeGen/Generic/switch-lower-feature.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/switch-lower-feature.ll?rev=52183&r1=52182&r2=52183&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/switch-lower-feature.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/switch-lower-feature.ll Tue Jun 10 11:10:32 2008
@@ -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
Modified: llvm/trunk/test/CodeGen/X86/dollar-name.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dollar-name.ll?rev=52183&r1=52182&r2=52183&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/dollar-name.ll (original)
+++ llvm/trunk/test/CodeGen/X86/dollar-name.ll Tue Jun 10 11:10:32 2008
@@ -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
Modified: llvm/trunk/test/CodeGen/X86/loop-strength-reduce2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/loop-strength-reduce2.ll?rev=52183&r1=52182&r2=52183&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/loop-strength-reduce2.ll (original)
+++ llvm/trunk/test/CodeGen/X86/loop-strength-reduce2.ll Tue Jun 10 11:10:32 2008
@@ -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.
Modified: llvm/trunk/test/CodeGen/X86/vec_insert-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vec_insert-2.ll?rev=52183&r1=52182&r2=52183&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/vec_insert-2.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vec_insert-2.ll Tue Jun 10 11:10:32 2008
@@ -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
More information about the llvm-commits
mailing list