; RUN: opt %s -instcombine -disable-output; This example caused instcombine to spin into an infinite loop.definevoid@test(i32*%P){retvoidDead:; preds = %Dead%X=phii32[%Y,%Dead]; <i32> [#uses=1]%Y=sdivi32%X,10; <i32> [#uses=2]storei32%Y,i32*%Pbrlabel%Dead}