Revert "X86: Reject register operands with obvious type mismatches."
[oota-llvm.git] / test / CodeGen / X86 / subreg-to-reg-1.ll
index a297728aee8975353b671f5dcdbe308203079b08..2931bab0cdd1a9bc0c1f782c0dea8499e25fb15c 100644 (file)
@@ -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,