blob: 0c9fa5efa0bbb1c3ee45f8af75792f11653ccd90 [file] [log] [blame]
Evan Cheng0cd22dd2009-11-14 01:50:00 +00001; RUN: llc < %s -mtriple=thumbv7-apple-darwin10
2; rdar://7394794
3
Rafael Espindola1e819662010-06-17 15:18:27 +00004define void @lshift_double(i64 %l1, i64 %h1, i64 %count, i32 %prec, i64* nocapture %lv, i64* nocapture %hv, i32 %arith) nounwind {
Evan Cheng0cd22dd2009-11-14 01:50:00 +00005entry:
6 %..i = select i1 false, i64 0, i64 0 ; <i64> [#uses=1]
7 br i1 undef, label %bb11.i, label %bb6.i
8
9bb6.i: ; preds = %entry
10 %0 = lshr i64 %h1, 0 ; <i64> [#uses=1]
11 store i64 %0, i64* %hv, align 4
12 %1 = lshr i64 %l1, 0 ; <i64> [#uses=1]
13 %2 = or i64 0, %1 ; <i64> [#uses=1]
14 store i64 %2, i64* %lv, align 4
15 br label %bb11.i
16
17bb11.i: ; preds = %bb6.i, %entry
18 store i64 %..i, i64* %lv, align 4
19 ret void
20}