blob: ad3e49f8f922441052066c993199ea13e0ee03b3 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -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