mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
0df3ce333b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194409 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
296 B
LLVM
14 lines
296 B
LLVM
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
|
|
|
|
target triple = "nvptx-unknown-cuda"
|
|
|
|
; CHECK: .visible .func foo
|
|
define void @foo(<8 x i8> %a, i8* %b) {
|
|
%t0 = extractelement <8 x i8> %a, i32 0
|
|
; CHECK-DAG: ld.param.v4.u8
|
|
; CHECK-DAG: ld.param.u32
|
|
store i8 %t0, i8* %b
|
|
ret void
|
|
}
|
|
|