repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git]
/
test
/
CodeGen
/
XCore
/
unaligned_store_combine.ll
blob
4b29a05984a1bc63d675b8cc3d97dcef7b62c92b
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, i64* %src, align 1
11
store i64 %0, i64* %dst, align 1
12
ret void
13
}