blob: 34f5ac1b9814ea5162643d64234c45664702f877 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -march=x86 | grep add
2; RUN: llc < %s -march=x86 | not grep adc
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003
4define i64 @test(i64 %A, i32 %B) {
5 %tmp12 = zext i32 %B to i64 ; <i64> [#uses=1]
6 %tmp3 = shl i64 %tmp12, 32 ; <i64> [#uses=1]
7 %tmp5 = add i64 %tmp3, %A ; <i64> [#uses=1]
8 ret i64 %tmp5
9}
10