forked from OSchip/llvm-project
[AArch64] Don't enable the post-RA MI scheduler at OptNone.
Hopefully, this will appease the bots. llvm-svn: 217712
This commit is contained in:
parent
e68ca8d4ba
commit
347ed4e831
|
@ -129,7 +129,8 @@ class AArch64PassConfig : public TargetPassConfig {
|
||||||
public:
|
public:
|
||||||
AArch64PassConfig(AArch64TargetMachine *TM, PassManagerBase &PM)
|
AArch64PassConfig(AArch64TargetMachine *TM, PassManagerBase &PM)
|
||||||
: TargetPassConfig(TM, PM) {
|
: TargetPassConfig(TM, PM) {
|
||||||
substitutePass(&PostRASchedulerID, &PostMachineSchedulerID);
|
if (TM->getOptLevel() != CodeGenOpt::None)
|
||||||
|
substitutePass(&PostRASchedulerID, &PostMachineSchedulerID);
|
||||||
}
|
}
|
||||||
|
|
||||||
AArch64TargetMachine &getAArch64TargetMachine() const {
|
AArch64TargetMachine &getAArch64TargetMachine() const {
|
||||||
|
|
Loading…
Reference in New Issue