MIR Serialization: Introduce a lexer for machine instructions.
[oota-llvm.git] / test / CodeGen / Thumb / 2009-06-18-ThumbCommuteMul.ll
index 9b2aba94ec8d2cd81e858df97ff59194f0f93241..ca6df7cdab31ba88b8cb01c66dcb8560c222bbc0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=thumb | grep r0 | count 1
+; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
 
 define i32 @a(i32 %x, i32 %y) nounwind readnone {
 entry:
@@ -6,3 +6,5 @@ entry:
        ret i32 %mul
 }
 
+; CHECK: r0
+