[llvm] [DAGCombiner] Share byte provider steps with AMDGPU target (PR #221959)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 04:38:08 PDT 2026
================
@@ -15184,30 +15185,16 @@ calculateByteProvider(const SDValue &Op, unsigned Index, unsigned Depth,
if (Index > BitWidth / 8 - 1)
return std::nullopt;
+ auto Recurse = [&](SDValue NextOp, unsigned NextIndex) {
+ return calculateByteProvider(NextOp, NextIndex, Depth + 1, StartingIndex);
----------------
aobolensk wrote:
done
https://github.com/llvm/llvm-project/pull/221959
More information about the llvm-commits
mailing list