repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
NVPTX
/
callchain.ll
blob
60b118b6a199302f28a187a9f4b395b0098f3cf4
1
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3
target triple = "nvptx"
4
5
define void @foo(i8* %ptr) {
6
%fnptr = bitcast i8* %ptr to void ()*
7
; CHECK: prototype_0 : .callprototype ()_ ()
8
tail call void %fnptr()
9
ret void
10
}