llvm-6502/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll
Chris Lattner 7cae8adb75 new testcase for PR1304
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35791 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-09 01:37:35 +00:00

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
}