[PATCH] [AArch64] Override useAA and remove unneeded edges in the scheduling graph. (Phabricator)

hfinkel at anl.gov hfinkel at anl.gov
Fri Sep 5 15:01:40 PDT 2014


I recommend splitting the useAA change from the rest of it (for better bisecting ;) ).

================
Comment at: include/llvm/Target/TargetInstrInfo.h:1200
@@ +1199,3 @@
+  virtual bool areMemAccessesTriviallyDisjoint(MachineInstr *MIa,
+                                               MachineInstr *MIb) const {
+    assert(MIa && (MIa->mayLoad() || MIa->mayStore()) &&
----------------
Can you also pass an optional AliasAnalysis* here too, so the target can use AA in conjunction with whatever target-specific information it has to determine aliasing.

http://reviews.llvm.org/D5103






More information about the llvm-commits mailing list