[PATCH] D13208: [Polly] BlockGenerator: Generate synthesisable instructions only on-demand

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 04:52:22 PDT 2015


grosser created this revision.
grosser added a reviewer: jdoerfert.
grosser added subscribers: llvm-commits, pollydev.

Instructions which we can synthesis from a SCEV expression are not generated
directly, but only when they are used as an operand of another instruction. This
avoids generating unnecessary instruction and works more reliably than first
inserting them and then deleting them later on.

Suggested-by: Johannes Doerfert <doerfert at cs.uni-saarland.de>

http://reviews.llvm.org/D13208

Files:
  lib/CodeGen/BlockGenerators.cpp
  test/Isl/CodeGen/OpenMP/new_multidim_access.ll
  test/Isl/CodeGen/exprModDiv.ll
  test/Isl/CodeGen/non-affine-phi-node-expansion-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13208.35855.patch
Type: text/x-patch
Size: 7218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150928/bcec8b06/attachment.bin>


More information about the llvm-commits mailing list