Files
clang-p2996/llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
choikwa de12836f28 [AMDGPU] Rework getDivNumBits API (#119768)
Rework involves below:
- Return unsigned value, the number of div/rem bits actually needed.
- Change from AtLeast(SignBits) to MaxDivBits hint.
- Use MaxDivBits hint for unsigned case.
- Remove unnecessary second early exit.

Mostly NFC changes.
2025-01-09 10:08:13 -05:00

80 KiB