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

Chad Rosier mcrosier at codeaurora.org
Thu Aug 28 08:16:09 PDT 2014


================
Comment at: lib/Target/AArch64/AArch64InstrInfo.cpp:1307
@@ +1306,3 @@
+AArch64InstrInfo::getLdStBaseRegImmOfsWidth(MachineInstr *LdSt,
+                              unsigned &BaseReg, int &Offset,
+                              int &Width, const TargetRegisterInfo *TRI) const {
----------------
Spacing of parameters.

================
Comment at: lib/Target/AArch64/AArch64InstrInfo.cpp:1391
@@ +1390,3 @@
+
+  if (!LdSt->getOperand(1).isReg() || !LdSt->getOperand(2).isImm())
+     return false;
----------------
Check prior to the switch?

http://reviews.llvm.org/D5103






More information about the llvm-commits mailing list