[PATCH] D38533: [CGP]Restrict complex select/phi case for optimizeMemoryInst

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 4 02:20:03 PDT 2017


skatkov created this revision.

This patch is actually a preparation for extension of the scope of optimizeMemoryInst optimization.
For now it does nothing but disable in future implementation the complex cases like
Select of Phi/Select or Phi from Select.


https://reviews.llvm.org/D38533

Files:
  lib/CodeGen/CodeGenPrepare.cpp
  test/Transforms/CodeGenPrepare/X86/sink-addrmode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38533.117637.patch
Type: text/x-patch
Size: 4481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171004/9d812ae5/attachment.bin>


More information about the llvm-commits mailing list