Justin Holewinski | 3d49e5c | 2013-11-15 12:30:04 +0000 | [diff] [blame] | 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 | } |