[PATCH] D13848: [Polly] Avoid unnecessay .s2a write access when used only in PHIs

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 17 11:12:58 PDT 2015


Meinersbur created this revision.
Meinersbur added reviewers: grosser, jdoerfert.
Meinersbur added subscribers: llvm-commits, pollydev.
Meinersbur added a project: Polly.

Accesses for exit node phis will be handled separately by buildPHIAccesses if there is more than one exiting edge, buildScalarDependences does not need to create additional SCALAR accesses.

This is a corrected version of r250517, which was reverted in r250607.

http://reviews.llvm.org/D13848

Files:
  lib/Analysis/ScopInfo.cpp
  test/ScopInfo/exit_phi_accesses-2.ll
  test/ScopInfo/exit_phi_accesses.ll
  test/ScopInfo/read-only-scalar-used-in-phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13848.37686.patch
Type: text/x-patch
Size: 4179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151017/d94aac4f/attachment.bin>


More information about the llvm-commits mailing list