llvm.org GIT mirror llvm / 3f31d49
Set the default PPC node scheduling preference to ILP (for the embedded cores). The 440 and A2 cores have detailed itineraries, and this allows them to be fully used to maximize throughput. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153845 91177308-0d34-0410-b5e6-96231b3b80d8 Hal Finkel 8 years ago
2 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
58365836 return MVT::i32;
58375837 }
58385838 }
5839
5840 Sched::Preference PPCTargetLowering::getSchedulingPreference(SDNode *N) const {
5841 unsigned Directive = PPCSubTarget.getDarwinDirective();
5842 if (Directive == PPC::DIR_440 || Directive == PPC::DIR_A2)
5843 return Sched::ILP;
5844
5845 return TargetLowering::getSchedulingPreference(N);
5846 }
5847
280280 bool SelectAddressRegImmShift(SDValue N, SDValue &Disp, SDValue &Base,
281281 SelectionDAG &DAG) const;
282282
283 Sched::Preference getSchedulingPreference(SDNode *N) const;
283284
284285 /// LowerOperation - Provide custom lowering hooks for some operations.
285286 ///