[llvm] [VPlan] Introduce vputils::getSingleScalarClone (PR #161667)
    David Sherwood via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 21 06:52:00 PDT 2025
    
    
  
================
@@ -189,19 +189,7 @@ static bool sinkScalarOperands(VPlan &Plan) {
     if (NeedsDuplicating) {
       if (ScalarVFOnly)
         continue;
-      VPSingleDefRecipe *Clone;
-      if (auto *SinkCandidateRepR =
-              dyn_cast<VPReplicateRecipe>(SinkCandidate)) {
-        // TODO: Handle converting to uniform recipes as separate transform,
----------------
david-arm wrote:
Do we want to keep the TODO?
https://github.com/llvm/llvm-project/pull/161667
    
    
More information about the llvm-commits
mailing list