18 lines · plain
1; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_20 | FileCheck %s2; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_20 | %ptxas-verify %}3 4target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64"5 6 7define i8 @foo(i8 signext %a) {8; CHECK: ld.param.s89 %ret = add i8 %a, 310 ret i8 %ret11}12 13define i8 @bar(i8 zeroext %a) {14; CHECK: ld.param.b815 %ret = add i8 %a, 316 ret i8 %ret17}18