blob: 07964d5aa315d7cd51e3cd03d32ace7bc14805c7 [file] [log] [blame]
Tanya Lattner348c6182008-03-25 04:26:08 +00001; RUN: llvm-as < %s | llc -march=ppc32 | not grep mfcr
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattner348c6182008-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 )
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009 ret void
Tanya Lattner348c6182008-03-25 04:26:08 +000010UnifiedReturnBlock: ; preds = %0
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011 ret void
12}
13