Add a neat little two's complement hack for x86.
[oota-llvm.git] / test / CodeGen / X86 / lea-recursion.ll
index ca7b3674d27c31e9ce018de5d3054ce0dac2c9ae..3f32fd27c5c11970628e42576e8a36e527618f26 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep lea | wc -l | grep 12
+; RUN: llc < %s -march=x86-64 | grep lea | count 12
 
 ; This testcase was written to demonstrate an instruction-selection problem,
 ; however it also happens to expose a limitation in the DAGCombiner's