[all-commits] [llvm/llvm-project] e40893: [Polly][ScopBuilder] Use only modeled instructions...

Michael Kruse via All-commits all-commits at lists.llvm.org
Tue Nov 10 13:30:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e408935bb5339e20035d84307c666fbdd15e99e0
      https://github.com/llvm/llvm-project/commit/e408935bb5339e20035d84307c666fbdd15e99e0
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M polly/lib/Analysis/ScopBuilder.cpp
    A polly/test/ScopInfo/invariant-load-instlist.ll

  Log Message:
  -----------
  [Polly][ScopBuilder] Use only modeled instructions to compute statement granularity.

ScopBuilder distributes independent instructions between statements.
Only modeled (e.g. not synthesizable) instructions are represented.
To compute independence, non-modeled instructions were used in some
parts of determining instruction independence, which could lead to the
re-introduction of non-model instructions.

In particular, required invariant loads could be added to instruction
list, which then led to redundant MemoryAccesses for such a load.

This fixes llvm.org/PR48059.




More information about the All-commits mailing list