-; 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} | count 2
; This should produce two shll instructions, not any lea's.
@Y = weak global i32 0 ; <i32*> [#uses=1]
@X = weak global i32 0 ; <i32*> [#uses=2]
-implementation ; Functions:
define void @fn1() {
entry: