mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-16 16:37:30 +00:00
993a1116f7
I looked into adding a warning / error for this to FileCheck, but there doesn't seem to be a good way to avoid it triggering on the instances of it in RUN lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244481 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
252 B
LLVM
13 lines
252 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
|
|
}
|