diff --git a/test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll b/test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll new file mode 100644 index 00000000000..86dacf77f56 --- /dev/null +++ b/test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll @@ -0,0 +1,11 @@ +; This testcase causes instcombine to hang. +; +; RUN: as < %s | opt -instcombine + +implementation + +void "test"(int %X) +begin + %reg117 = add int %X, 0 + ret void +end