mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
use an intptr ValueType instead of i32 for the index operand in getCopyToParts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40987 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
288 B
LLVM
12 lines
288 B
LLVM
; RUN: llvm-as < %s | llc -march=x86-64 | grep -v IMPLICIT_DEF
|
|
|
|
define void @foo(<2 x float>* %p) {
|
|
%t = insertelement <2 x float> undef, float 0.0, i32 0
|
|
%v = insertelement <2 x float> %t, float 0.0, i32 1
|
|
br label %bb8
|
|
|
|
bb8:
|
|
store <2 x float> %v, <2 x float>* %p
|
|
ret void
|
|
}
|