[all-commits] [llvm/llvm-project] d9526e: [ConstraintElimination] Use stable_sort to sort wo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jun 23 10:22:53 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9526e8a52ca9d5371f32a9cdad8981d31613408
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp

  Log Message:
  [ConstraintElimination] Use stable_sort to sort worklist.

If there are multiple constraints in the same block, at the moment the
order they are processed may be different depending on the sort

Use stable_sort to ensure consistent ordering.

More information about the All-commits mailing list