[PATCH] D101601: [SelectionDAG] Make fast and linearize visible by clang -pre-RA-sched
    Pengfei Wang via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri May  7 19:24:23 PDT 2021
    
    
  
pengfei accepted this revision.
pengfei added a comment.
This revision is now accepted and ready to land.
I see. LGTM, but let's wait one or more days to see if others object it.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:275-276
+      return createFastDAGScheduler(IS, OptLevel);
+    if (TLI->getSchedulingPreference() == Sched::Linearize)
+      return createDAGLinearizer(IS, OptLevel);
     assert(TLI->getSchedulingPreference() == Sched::ILP &&
----------------
Can this be omitted given `createFastDAGScheduler` should make it linked.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101601/new/
https://reviews.llvm.org/D101601
    
    
More information about the llvm-commits
mailing list