blob: 35a5e427853e4b27f7af0b6209e04f547002a733 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32 | not grep mfcr
Chris Lattner4c1984d2006-10-14 03:40:02 +00002
Tanya Lattner6f729d62008-03-25 04:26:08 +00003define void @test(i64 %X) {
4 %tmp1 = and i64 %X, 3 ; <i64> [#uses=1]
5 %tmp = icmp sgt i64 %tmp1, 2 ; <i1> [#uses=1]
6 br i1 %tmp, label %UnifiedReturnBlock, label %cond_true
7cond_true: ; preds = %0
8 tail call void @test( i64 0 )
Chris Lattner4c1984d2006-10-14 03:40:02 +00009 ret void
Tanya Lattner6f729d62008-03-25 04:26:08 +000010UnifiedReturnBlock: ; preds = %0
Chris Lattner4c1984d2006-10-14 03:40:02 +000011 ret void
12}
13