summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/subreg-to-reg-1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/subreg-to-reg-1.ll')
-rw-r--r--test/CodeGen/X86/subreg-to-reg-1.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/X86/subreg-to-reg-1.ll b/test/CodeGen/X86/subreg-to-reg-1.ll
index 4f31ab5a92291..2931bab0cdd1a 100644
--- a/test/CodeGen/X86/subreg-to-reg-1.ll
+++ b/test/CodeGen/X86/subreg-to-reg-1.ll
@@ -1,4 +1,7 @@
-; RUN: llc < %s -march=x86-64 | grep "leal .*), %e.*" | count 1
+; RUN: llc < %s -march=x86-64 | FileCheck %s
+
+; CHECK: {{leal .*[)], %e.*}}
+; CHECK-NOT: {{leal .*[)], %e.*}}
; Don't eliminate or coalesce away the explicit zero-extension!
; This is currently using an leal because of a 3-addressification detail,