projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove FileCheck from test case token_landingpad.ll.
[oota-llvm.git]
/
test
/
CodeGen
/
XCore
/
unaligned_store_combine.ll
diff --git
a/test/CodeGen/XCore/unaligned_store_combine.ll
b/test/CodeGen/XCore/unaligned_store_combine.ll
index b61cf86988a0850b6df658c65f4fa88a8b7dd8e3..4b29a05984a1bc63d675b8cc3d97dcef7b62c92b 100644
(file)
--- a/
test/CodeGen/XCore/unaligned_store_combine.ll
+++ b/
test/CodeGen/XCore/unaligned_store_combine.ll
@@
-1,12
+1,13
@@
-; RUN: llvm-as < %s | llc -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:
; Unaligned load / store pair. Should be combined into a memmove
; of size 8
define void @f(i64* %dst, i64* %src) nounwind {
entry:
- %0 = load i64* %src, align 1
+; CHECK-LABEL: f:
+; CHECK: ldc r2, 8
+; CHECK: bl memmove
+ %0 = load i64, i64* %src, align 1
store i64 %0, i64* %dst, align 1
ret void
}
store i64 %0, i64* %dst, align 1
ret void
}