blob: a8f0e576b95e729f5a6590addf633f1d7d2d735b [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; PR1219
Dan Gohmanda594cf2009-09-09 00:09:15 +00002; RUN: llc < %s -march=x86 | grep {movl \$1, %eax}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003
4define i32 @test(i1 %X) {
5old_entry1:
6 %hvar2 = zext i1 %X to i32
7 %C = icmp sgt i32 %hvar2, -1
8 br i1 %C, label %cond_true15, label %cond_true
9cond_true15:
10 ret i32 1
11cond_true:
12 ret i32 2
13}