MIR Serialization: Introduce a lexer for machine instructions.
[oota-llvm.git] / test / CodeGen / Thumb / 2009-06-18-ThumbCommuteMul.ll
index 5c883b3930dceee23f4a5f7a6b750e04dfdf762e..ca6df7cdab31ba88b8cb01c66dcb8560c222bbc0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -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
+