[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / Transforms / InstCombine / 2006-02-28-Crash.ll
blob9bea14c027ea6b7bf491a8253056ce33385dce29
1 ; RUN: opt < %s -instcombine -disable-output
3 define i32 @test() {
4         %tmp203 = icmp eq i32 1, 2              ; <i1> [#uses=1]
5         %tmp203.upgrd.1 = zext i1 %tmp203 to i32                ; <i32> [#uses=1]
6         ret i32 %tmp203.upgrd.1