mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
13 lines
251 B
LLVM
13 lines
251 B
LLVM
|
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
|
||
|
|
||
|
target triple = "nvptx-unknown-cuda"
|
||
|
|
||
|
declare void @bar(<4 x i32>)
|
||
|
|
||
|
; CHECK-LABEL @foo
|
||
|
define void @foo(<4 x i32> %a) {
|
||
|
; CHECK: st.param.v4.b32
|
||
|
tail call void @bar(<4 x i32> %a)
|
||
|
ret void
|
||
|
}
|