summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/shift-codegen.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/shift-codegen.ll')
-rw-r--r--llvm/test/CodeGen/X86/shift-codegen.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/shift-codegen.ll b/llvm/test/CodeGen/X86/shift-codegen.ll
index 0195226bd5e..83235c0ff55 100644
--- a/llvm/test/CodeGen/X86/shift-codegen.ll
+++ b/llvm/test/CodeGen/X86/shift-codegen.ll
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | llc -relocation-model=static -march=x86 | grep 'shll $3' | wc -l | grep 2
+; RUN: llvm-as < %s | llc -relocation-model=static -march=x86 | \
+; RUN: grep {shll \$3} | wc -l | grep 2
; This should produce two shll instructions, not any lea's.
OpenPOWER on IntegriCloud