Files
clang-p2996/llvm/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll
Bjorn Pettersson acdc419c89 [test] Use -passes=instcombine instead of -instcombine in lots of tests. NFC
Another step moving away from the deprecated syntax of specifying
pass pipeline in opt.

Differential Revision: https://reviews.llvm.org/D119081
2022-02-07 14:26:59 +01:00

8 lines
160 B
LLVM

; RUN: opt < %s -passes=instcombine -disable-output
; PR1304
define i64 @bork(<1 x i64> %vec) {
%tmp = extractelement <1 x i64> %vec, i32 0
ret i64 %tmp
}