[PATCH] D30914: [Outliner] Add outliner for AArch64

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 14:11:49 PDT 2017


paquette updated this revision to Diff 92200.
paquette marked 2 inline comments as done.
paquette added a comment.

Updated the diff to address comments.

**Changes**

- Replaced `getScale` with `getMemOpInfo`.
- Replaced the switch statement in `getMemOpBaseRegImmOfsWidth` with a call to `getMemOpInfo`.

In the future, `getMemOpInfo` can probably be expanded so that the other functions that use large switch statements over all loads/stores use it (or something similar) instead.


https://reviews.llvm.org/D30914

Files:
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  test/CodeGen/AArch64/machine-outliner.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30914.92200.patch
Type: text/x-patch
Size: 16090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170317/9892e2d2/attachment.bin>


More information about the llvm-commits mailing list