[all-commits] [llvm/llvm-project] 5a6026: [IVDescriptor] Use DT to check order of Previous, ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 4 03:08:16 PST 2022


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

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

  Log Message:
  -----------
  [IVDescriptor] Use DT to check order of Previous, OtherPrev.

Previous and OhterPrev may not be in the same block. Use DT::dominates
instead of local comesBefore. DT::dominates is already used earlier to
check the order of Previous and SinkCandidate.

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




More information about the All-commits mailing list