[all-commits] [llvm/llvm-project] 3c47c5: [RegAllocFast] Fix nondeterminism in debuginfo gen...

Ilya Yanok via All-commits all-commits at lists.llvm.org
Tue Nov 9 12:43:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c47c5ca13b8a502de3272e8105548715947b7a8
      https://github.com/llvm/llvm-project/commit/3c47c5ca13b8a502de3272e8105548715947b7a8
  Author: Ilya Yanok <ilya.yanok at gmail.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

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

  Log Message:
  -----------
  [RegAllocFast] Fix nondeterminism in debuginfo generation

Changes from commit 1db137b1859692ae33228c530d4df9f2431b2151
added iteration over hash map that can result in non-deterministic
order. Fix that by using a SmallMapVector to preserve the order.

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




More information about the All-commits mailing list