[llvm] [SandboxVec][NFC] Add LLVM_DEBUG dumps (PR #129335)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Feb 28 15:45:18 PST 2025
    
    
  
================
@@ -220,11 +211,8 @@ LegalityAnalysis::getHowToCollectValues(ArrayRef<Value *> Bndl) const {
 const LegalityResult &LegalityAnalysis::canVectorize(ArrayRef<Value *> Bndl,
                                                      bool SkipScheduling) {
   // If Bndl contains values other than instructions, we need to Pack.
-  if (any_of(Bndl, [](auto *V) { return !isa<Instruction>(V); })) {
-    LLVM_DEBUG(dbgs() << "Not vectorizing: Not Instructions:\n";
----------------
vporpo wrote:
This is no longer needed because I am now dumping all legality outcomes at the call site of of `canVectorize()` here: BottomUpVec.cpp:289.
https://github.com/llvm/llvm-project/pull/129335
    
    
More information about the llvm-commits
mailing list