[llvm] Remove unnecessary add instructions in ctlz.i8 (PR #77615)
Leon Clark via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 11 07:24:40 PST 2024
================
@@ -3062,6 +3068,25 @@ static bool isCttzOpc(unsigned Opc) {
return Opc == ISD::CTTZ || Opc == ISD::CTTZ_ZERO_UNDEF;
}
+void AMDGPUTargetLowering::replaceCTLZResults(
----------------
PeddleSpam wrote:
I thought it might be confusing since we already have a `LowerCTLZ_CTTZ` function. Other backends use the "replaceXResults" convention which seemed appropriate. Or we could split the difference and call it `lowerCTLZResults`.
https://github.com/llvm/llvm-project/pull/77615
More information about the llvm-commits
mailing list