[PATCH] D25482: [PPC] Allow two post RA schedulers to be in the pipeline and select one depending on the Machine Function's subtarget
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 31 16:17:55 PDT 2016
MatzeB added inline comments.
================
Comment at: lib/CodeGen/TargetPassConfig.cpp:559-560
+
+ if (getOptLevel() != CodeGenOpt::None &&
+ !TM->targetSchedulesPostRAScheduling()) {
+ if (MISchedPostRA)
----------------
It looks like we supersede ™::targetSchedulesPostRAScheduling()"? It should be trivially for the targets reporting true here to instead just overload this method with an empty one. (We can do this in a follow up patch though).
https://reviews.llvm.org/D25482
More information about the llvm-commits
mailing list