summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll
blob: ad3e49f8f922441052066c993199ea13e0ee03b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -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
}