[PATCH] D146683: [DAG] Conservatively check the VSELECT Operation Action in tryToFoldExtendSelectLoad
    LuoYuanke via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar 23 05:51:54 PDT 2023
    
    
  
LuoYuanke added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:12247
+      (N0->getOpcode() == ISD::VSELECT &&
+       TLI.getOperationAction(ISD::VSELECT, VT) != TargetLowering::Legal))
     return SDValue();
----------------
Check "Level <= AfterLegalizeVectorOps" instead?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146683/new/
https://reviews.llvm.org/D146683
    
    
More information about the llvm-commits
mailing list