[all-commits] [llvm/llvm-project] 807d43: [VPlan] Use properlyDominates predicate for orderi...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Feb 13 13:25:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 807d43239a5fe0bb93d64925393bb99abbd81a92
      https://github.com/llvm/llvm-project/commit/807d43239a5fe0bb93d64925393bb99abbd81a92
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [VPlan] Use properlyDominates predicate for ordering FOR users.

The current implementation may return true for A < B and B < A, which
may cause issues if the sort implementation assures this property of the
comperator. This should fix a crash with MSVC.




More information about the All-commits mailing list