[all-commits] [llvm/llvm-project] de8ac4: [IVDescriptor] Remove SinkCandidate from SinkAfter...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Mar 5 11:48:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de8ac485e5b76cc48c396a0748499277690d1012
      https://github.com/llvm/llvm-project/commit/de8ac485e5b76cc48c396a0748499277690d1012
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-03-05 (Sat, 05 Mar 2022)

  Changed paths:
    M llvm/lib/Analysis/IVDescriptors.cpp
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-multiply-recurrences.ll

  Log Message:
  -----------
  [IVDescriptor] Remove SinkCandidate from SinkAfter before re-sinking.

This ensures the right order in the sink-after map is maintained. If we
re-sink an instruction, it must be sunk after all earlier instructions
have been sunk.

Fixes https://github.com/llvm/llvm-project/issues/54223




More information about the All-commits mailing list