[all-commits] [llvm/llvm-project] b6b100: [IRSim][IROutliner] Allowing GEP instructions to b...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Thu Dec 31 15:19:40 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6b1006f0719481dfb785f281afb5b371c19f00c
      https://github.com/llvm/llvm-project/commit/b6b1006f0719481dfb785f281afb5b371c19f00c
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2020-12-31 (Thu, 31 Dec 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/IROutliner.h
    R llvm/test/Transforms/IROutliner/illegal-gep.ll
    A llvm/test/Transforms/IROutliner/outlining-gep.ll

  Log Message:
  -----------
  [IRSim][IROutliner] Allowing GEP instructions to be outlined.

We outline what the IRSimilarityIdentifier deems GEP Instructions to be
similar.  In this case, the types must be the same, and the operand
values after the first indexing operand must be the exact same.

Tests:
Removing test/Transforms/IROutliner/illegal-gep.ll
Adding test/Transforms/IROutliner/outlining-gep.ll

Reviewers: jroelofs, paquette

Differential Revision: https://reviews.llvm.org/D87317




More information about the All-commits mailing list