[all-commits] [llvm/llvm-project] 20c052: [ModuloSchedule] Trivial fix for instruction with ...

Thomas via All-commits all-commits at lists.llvm.org
Thu May 21 08:18:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 20c0527af7449d7c22261f9bc88b0ee391bdbad8
      https://github.com/llvm/llvm-project/commit/20c0527af7449d7c22261f9bc88b0ee391bdbad8
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2020-05-21 (Thu, 21 May 2020)

  Changed paths:
    M llvm/lib/CodeGen/ModuloSchedule.cpp

  Log Message:
  -----------
  [ModuloSchedule] Trivial fix for instruction with more than one destination in modulo peeler.

When moving an instruction into a block where it was referenced by a phi when peeling,
refer to the phi's register number and assert that the instruction has it in its destinations.
This way, it also covers instructions with more than one destination.

Patch by Hendrik Greving!

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




More information about the All-commits mailing list