1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin10
2 ; This formerly got DagCombine into a loop, PR 8916.
4 define i32 @foo(i64 %x, i64 %y, i64 %z, i32 %a, i32 %b) {
6 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
8 %t2 = and i64 %t1, 4294934528
11 %t5 = trunc i64 %t4 to i32