mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
53a66d10f0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47296 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
289 B
LLVM
12 lines
289 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 | not grep adc
|
|
; PR987
|
|
|
|
declare void @llvm.memcpy.i64(i8*, i8*, i64, i32)
|
|
|
|
define void @foo(i64 %a) {
|
|
%b = add i64 %a, 1 ; <i64> [#uses=1]
|
|
call void @llvm.memcpy.i64( i8* null, i8* null, i64 %b, i32 1 )
|
|
ret void
|
|
}
|
|
|