Store the log2 wave size instead of forcing division and log2
operations when querying either.
Details
Details
Diff Detail
Diff Detail
Paths 
  |  Differential  D80938  
AMDGPU: Change internal tracking of wave size ClosedPublic Authored by arsenm on Jun 1 2020, 10:26 AM. 
Details 
Diff Detail Event Timeline
 This revision is now accepted and ready to land.Jun 1 2020, 2:40 PM 
Revision Contents 
 
Diff 267732 llvm/lib/Target/AMDGPU/AMDGPUFeatures.td
 llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
 llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Why do you need both?