projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move codegen test over to MC.
[oota-llvm.git]
/
test
/
CodeGen
/
XCore
/
unaligned_store_combine.ll
1
; RUN: llc < %s -march=xcore | FileCheck %s
2
3
; Unaligned load / store pair. Should be combined into a memmove
4
; of size 8
5
define void @f(i64* %dst, i64* %src) nounwind {
6
entry:
7
; CHECK-LABEL: f:
8
; CHECK: ldc r2, 8
9
; CHECK: bl memmove
10
%0 = load i64* %src, align 1
11
store i64 %0, i64* %dst, align 1
12
ret void
13
}