mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
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
|
||
|
}
|