mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
ef2509b3ba
1. x86-64 byval alignment should be max of 8 and alignment of type. Previously the code was not doing what the commit message was saying. 2. Do not use byte repeat move and store operations. These are slow. llvm-svn: 55139
12 lines
330 B
LLVM
12 lines
330 B
LLVM
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep stosl
|
|
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep movq | count 10
|
|
|
|
define void @bork() nounwind {
|
|
entry:
|
|
call void @llvm.memset.i64( i8* null, i8 0, i64 80, i32 4 )
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.memset.i64(i8*, i8, i64, i32) nounwind
|
|
|