repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
NVPTX
/
callchain.ll
blob
59f936bb6aac4a878ab51800eb2f1139f87132ba
1
; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s
2
; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_20 | %ptxas-verify %}
3
4
target triple = "nvptx"
5
6
define void @foo(ptr %ptr) {
7
; CHECK: prototype_0 : .callprototype ()_ ()
8
tail call void %ptr()
9
ret void
10
}