2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -march=x86 | not grep adc
|
2006-11-07 12:12:03 +08:00
|
|
|
; PR987
|
2006-11-07 12:11:14 +08:00
|
|
|
|
2008-02-19 09:41:04 +08:00
|
|
|
declare void @llvm.memcpy.i64(i8*, i8*, i64, i32)
|
2006-11-07 12:11:14 +08:00
|
|
|
|
2008-02-19 09:41:04 +08:00
|
|
|
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
|
2006-11-07 12:11:14 +08:00
|
|
|
}
|
2008-02-19 09:41:04 +08:00
|
|
|
|