llvm-6502/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll

8 lines
163 B
LLVM
Raw Normal View History

; 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
}