Index: include/llvm/CodeGen/MachineScheduler.h =================================================================== --- include/llvm/CodeGen/MachineScheduler.h +++ include/llvm/CodeGen/MachineScheduler.h @@ -302,6 +302,9 @@ return SchedImpl->doMBBSchedRegionsTopDown(); } + // Returns AliasAnalysis instance for use in Hazard Recognizer. + AliasAnalysis* getAA() { return AA; } + // Returns LiveIntervals instance for use in DAG mutators and such. LiveIntervals *getLIS() const { return LIS; }