[llvm] [AMDGPU] Remove unnecessary add instructions in ctlz.i8 (PR #77615)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 15 07:33:12 PST 2024
================
@@ -3062,6 +3071,26 @@ static bool isCttzOpc(unsigned Opc) {
return Opc == ISD::CTTZ || Opc == ISD::CTTZ_ZERO_UNDEF;
}
+SDValue AMDGPUTargetLowering::lowerCTLZResults(SDValue Op,
----------------
jayfoad wrote:
Nit: I know you've already changed the name once, but isn't this really doing integer result promotion (as in `DAGTypeLegalizer::PromoteIntegerResult`)? So maybe `PromoteIntRes_CTLZ`??
https://github.com/llvm/llvm-project/pull/77615
More information about the llvm-commits
mailing list