llvm-6502/test/Bitcode/extractelement.ll
Chris Lattner ba120aa5fa fix a bitcode reader bug where it can't handle extractelement correctly:
the index of the value being extracted is always an i32.  This fixes PR3465


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63597 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-03 02:11:28 +00:00

9 lines
236 B
LLVM

; RUN: llvm-as < %s | opt -constprop | llvm-dis
; PR3465
define double @test() {
%tmp24 = extractelement <2 x double> bitcast (<1 x i128> < i128 85070591730234615870450834276742070272 > to <2 x double>), i32 0
ret double %tmp24
}