blob: a773759f36ea96452a3b81e5bee2383e47842e1a [file] [log] [blame]
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00001; RUN: llvm-as < %s | llc -march=x86 | not grep adc
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; PR987
3
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00004declare void @llvm.memcpy.i64(i8*, i8*, i64, i32)
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00006define void @foo(i64 %a) {
7 %b = add i64 %a, 1 ; <i64> [#uses=1]
8 call void @llvm.memcpy.i64( i8* null, i8* null, i64 %b, i32 1 )
9 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +000010}
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +000011