view test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll @ 83:60c9769439b8 LLVM3.7

LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Wed, 18 Feb 2015 14:55:36 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; This testcase causes instcombine to hang.
;
; RUN: opt < %s -instcombine

define void @test(i32 %X) {
        %reg117 = add i32 %X, 0         ; <i32> [#uses=0]
        ret void
}