llvm-project/llvm/test/Transforms/InstCombine/2007-04-08-SingleEltVectorC...

8 lines
153 B
LLVM

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