Move various XCore tests to FileCheck
[oota-llvm.git] / test / CodeGen / XCore / unaligned_store_combine.ll
index 493ca6a975f83abc4da7da572793b27a301b0506..c997b78ee6bdb33e54385e7de6d90147d130f684 100644 (file)
@@ -1,11 +1,12 @@
-; RUN: llc < %s -march=xcore > %t1.s
-; RUN: grep "bl memmove" %t1.s | count 1
-; RUN: grep "ldc r., 8" %t1.s | count 1
+; RUN: llc < %s -march=xcore | FileCheck %s
 
 ; Unaligned load / store pair. Should be combined into a memmove
 ; of size 8
 define void @f(i64* %dst, i64* %src) nounwind {
 entry:
+; CHECK: f:
+; CHECK: ldc r2, 8
+; CHECK: bl memmove
        %0 = load i64* %src, align 1
        store i64 %0, i64* %dst, align 1
        ret void