Displaying 2 results from an estimated 2 matches for "max_16".
Did you mean:
max16
2011 Nov 19
1
[LLVMdev] llvm_anyint_ty clarification
..._working.patch file):
def int_ptx_max : Intrinsic<[llvm_anyint_ty],
[LLVMMatchType<0>, LLVMMatchType<0>],
[Commutative]>;
The problem is that the builtin is not recognised in the following test case:
define ptx_device i16 @max_16(i16 %a, i16 %b) {
entry:
%d = call i16 @llvm.ptx.max(i16 %a, i16 %b)
ret i16 %d
}
declare i16 @llvm.ptx.max(i16, i16)
Things change if I define explicitly the i16 intrinsic, like this:
def int_ptx_max : Intrinsic<[llvm_i16_ty],
[llvm_i16_ty, llvm_i16_ty],...
2011 Nov 21
0
[LLVMdev] How to get ELF section virtual starting address from MCSymbolRefExpr?
..._working.patch file):
def int_ptx_max : Intrinsic<[llvm_anyint_ty],
[LLVMMatchType<0>, LLVMMatchType<0>],
[Commutative]>;
The problem is that the builtin is not recognised in the following test case:
define ptx_device i16 @max_16(i16 %a, i16 %b) {
entry:
%d = call i16 @llvm.ptx.max(i16 %a, i16 %b)
ret i16 %d
}
declare i16 @llvm.ptx.max(i16, i16)
Things change if I define explicitly the i16 intrinsic, like this:
def int_ptx_max : Intrinsic<[llvm_i16_ty],
[llvm_i16_ty, llvm_i16_ty],...