DirectXShaderCompiler/test/CodeGen/NVPTX/callchain.ll

11 строки
235 B
LLVM
Исходник Обычный вид История

2016-12-28 22:52:27 +03:00
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
target triple = "nvptx"
define void @foo(i8* %ptr) {
%fnptr = bitcast i8* %ptr to void ()*
; CHECK: prototype_0 : .callprototype ()_ ()
tail call void %fnptr()
ret void
}