[PATCH] D46801: add getAA in ScheduleDAGMI for using in HazardRec
Atheel Massalha via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 12 22:44:11 PDT 2018
atheel.ma created this revision.
atheel.ma added reviewers: atrick, dblaikie.
Herald added subscribers: llvm-commits, javed.absar, MatzeB.
Repository:
rL LLVM
https://reviews.llvm.org/D46801
Files:
include/llvm/CodeGen/MachineScheduler.h
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; }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46801.146496.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180513/36255f59/attachment.bin>
More information about the llvm-commits
mailing list