================ @@ -3062,6 +3068,25 @@ static bool isCttzOpc(unsigned Opc) { return Opc == ISD::CTTZ || Opc == ISD::CTTZ_ZERO_UNDEF; } +void AMDGPUTargetLowering::replaceCTLZResults( ---------------- arsenm wrote: lowerCTLZ? https://github.com/llvm/llvm-project/pull/77615