[PATCH] D38278: [CGP] Make optimizeMemoryInst capable of handling multiple AddrModes
John Brawn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 26 15:31:02 PDT 2017
john.brawn created this revision.
Currently optimizeMemoryInst requires that all of the AddrModes it sees are identical. This patch makes it capable of tracking multiple AddrModes, so long as they differ in at most one field.
This patch does nothing by itself, but later patches will make use of it to insert or reuse phi or select instructions for the differing fields.
Repository:
rL LLVM
https://reviews.llvm.org/D38278
Files:
lib/CodeGen/CodeGenPrepare.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38278.116661.patch
Type: text/x-patch
Size: 5928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170926/056f946a/attachment-0001.bin>
More information about the llvm-commits
mailing list