repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
XCore
/
unaligned_store_combine.ll
blob
97b08d7cb69b127a819d77633c47d2d846fbcbad
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(ptr %dst, ptr %src) nounwind {
6
entry:
7
; CHECK-LABEL: f:
8
; CHECK: ldc r2, 8
9
; CHECK: bl memmove
10
%0 = load i64, ptr %src, align 1
11
store i64 %0, ptr %dst, align 1
12
ret void
13
}