These are meant to be used instead of the llvm.SI.tid intrinsic which will
be deprecated at some point.
Details
Details
Diff Detail
Diff Detail
Event Timeline
include/llvm/IR/IntrinsicsAMDGPU.td | ||
---|---|---|
150–151 | I don't think the type should be included in the name. For instructions that have multiple types, it is redundant with the llvm name mangling. For ones that don't work on multiple types, it isn't necessary information. I would have this be int_amdgcn_mbcnt_lo/int_amdgcn_mbcnt_hi | |
test/CodeGen/AMDGPU/llvm.SI.tid.ll | ||
16–33 | The test should be in its own mbcnt file |
I don't think the type should be included in the name. For instructions that have multiple types, it is redundant with the llvm name mangling. For ones that don't work on multiple types, it isn't necessary information. I would have this be int_amdgcn_mbcnt_lo/int_amdgcn_mbcnt_hi