; This testcase causes instcombine to hang.
;
; RUN: llvm-as < %s | opt -instcombine
define void @test(i32 %X) {
%reg117 = add i32 %X, 0 ; <i32> [#uses=0]
ret void
}