[all-commits] [llvm/llvm-project] 58d7a6: [GlobalMerge] Use MapVector to stabilize iteration...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jun 19 10:19:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58d7a6e0e6361871442df956bb88798ce602b09d
      https://github.com/llvm/llvm-project/commit/58d7a6e0e6361871442df956bb88798ce602b09d
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-19 (Wed, 19 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalMerge.cpp
    M llvm/test/Transforms/GlobalMerge/basic.ll

  Log Message:
  -----------
  [GlobalMerge] Use MapVector to stabilize iteration order

DenseMap iteration order is not guaranteed to be deterministic.

Without the change,
llvm/test/Transforms/GlobalMerge/basic.ll could fail when
`combineHashValue` changes (#95970).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list