[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / Transforms / InstCombine / 2007-04-08-SingleEltVectorCrash.ll
blob22eb2c23c34b7750425ed311078c707f071b9d88
1 ; RUN: opt < %s -instcombine -disable-output
2 ; PR1304
4 define i64 @bork(<1 x i64> %vec) {
5   %tmp = extractelement <1 x i64> %vec, i32 0
6   ret i64 %tmp