[PATCH] D25298: [AMDGPU] Refactor waitcnt encoding

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 18:49:51 PDT 2016


arsenm added inline comments.


> AMDGPUBaseInfo.cpp:55-71
> +/// \returns Vmcnt bit shift for given isa \p Version.
> +unsigned getVmcntBitShift(IsaVersion Version) { return 0; }
> +
> +/// \returns Vmcnt bit width for given isa \p Version.
> +unsigned getVmcntBitWidth(IsaVersion Version) { return 4; }
> +
> +/// \returns Expcnt bit shift for given isa \p Version.

These don't use the version?

https://reviews.llvm.org/D25298





More information about the llvm-commits mailing list