mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
1887c1c2f9
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55139 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
|