mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
b753649d63
This reverts commit r253511. This likely broke the bots in http://lab.llvm.org:8011/builders/clang-ppc64-elf-linux2/builds/20202 http://bb.pgr.jp/builders/clang-3stage-i686-linux/builds/3787 llvm-svn: 253543
15 lines
498 B
LLVM
15 lines
498 B
LLVM
; RUN: llc -mtriple=arm64-apple-ios -mattr=+strict-align < %s | FileCheck %s
|
|
|
|
; Small (16-bytes here) unaligned memcpys should stay memcpy calls if
|
|
; strict-alignment is turned on.
|
|
define void @t0(i8* %out, i8* %in) {
|
|
; CHECK-LABEL: t0:
|
|
; CHECK: orr w2, wzr, #0x10
|
|
; CHECK-NEXT: bl _memcpy
|
|
entry:
|
|
call void @llvm.memcpy.p0i8.p0i8.i64(i8* %out, i8* %in, i64 16, i32 1, i1 false)
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i32, i1)
|