Clang and AArch64 backend patches to support shll/shl and vmovl instructions and...
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-add6.ll
index 628232f9daa248ad0555f99e33af036419f80f91..0d2f1224995655af9021cf6925505c52dd03a6fd 100644 (file)
@@ -1,6 +1,9 @@
-; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {adds\\.w\\W*r\[0-9\],\\W*r\[0-9\],\\W*r\[0-9\]} | count 1
+; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
 
 define i64 @f1(i64 %a, i64 %b) {
+; CHECK-LABEL: f1:
+; CHECK: adds r0, r0, r2
+; CHECK: adcs r1, r3
     %tmp = add i64 %a, %b
     ret i64 %tmp
 }