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

8 lines
163 B
LLVM

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