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

10 lines
182 B
LLVM
Raw Normal View History

2002-03-12 07:28:11 +08:00
; This testcase causes instcombine to hang.
;
; RUN: opt < %s -instcombine
2002-03-12 07:28:11 +08:00
define void @test(i32 %X) {
%reg117 = add i32 %X, 0 ; <i32> [#uses=0]
ret void
}
2002-03-12 07:28:11 +08:00