summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/peep-test-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/peep-test-2.ll')
-rw-r--r--test/CodeGen/X86/peep-test-2.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/X86/peep-test-2.ll b/test/CodeGen/X86/peep-test-2.ll
index 2745172975..e4bafbb6ff 100644
--- a/test/CodeGen/X86/peep-test-2.ll
+++ b/test/CodeGen/X86/peep-test-2.ll
@@ -1,4 +1,6 @@
-; RUN: llc < %s -march=x86 | grep testl
+; RUN: llc < %s -march=x86 | FileCheck %s
+
+; CHECK: testl
; It's tempting to eliminate the testl instruction here and just use the
; EFLAGS value from the incl, however it can't be known whether the add