mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
3ac128b6b7
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. llvm-svn: 244481
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
|
|
}
|