Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep adc |
2 | |||||
3 | ; PR987 | ||||
4 | |||||
5 | declare void %llvm.memcpy.i64(sbyte*, sbyte*, ulong, uint) | ||||
6 | |||||
7 | void %foo(ulong %a) { | ||||
8 | %b = add ulong %a, 1 | ||||
9 | call void %llvm.memcpy.i64( sbyte* null, sbyte* null, ulong %b, uint 1 ) | ||||
10 | ret void | ||||
11 | } |