llvm-project/llvm/test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll

10 lines
192 B
LLVM

; 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
}