mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
12 lines
200 B
LLVM
12 lines
200 B
LLVM
|
; RUN: llvm-as < %s | llc
|
||
|
%f8 = type <8 x float>
|
||
|
|
||
|
define void @test_f8(%f8 *%P, %f8* %Q, %f8 *%S) {
|
||
|
%p = load %f8* %P
|
||
|
%q = load %f8* %Q
|
||
|
%R = add %f8 %p, %q
|
||
|
store %f8 %R, %f8 *%S
|
||
|
ret void
|
||
|
}
|
||
|
|