view test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
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
}