[PATCH] D38278: [CGP] Make optimizeMemoryInst capable of handling multiple AddrModes

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 09:17:29 PDT 2017


john.brawn updated this revision to Diff 117008.
john.brawn added a comment.

Updated based on review comments:

- Move the field comparison into ExtAddrMode and use an enum to represent which field differs
- Move trivial AddrMode detection into ExtAddrMode
- Move everything else from optimizeMemoryInst into an AddressingModeCombiner class


https://reviews.llvm.org/D38278

Files:
  lib/CodeGen/CodeGenPrepare.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38278.117008.patch
Type: text/x-patch
Size: 8544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170928/9a66af49/attachment.bin>


More information about the llvm-commits mailing list