[all-commits] [llvm/llvm-project] 8ea31d: [CodeGenPrepare] Use MapVector to stabilize iterat...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jun 18 17:20:13 PDT 2024


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

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/test/Transforms/CodeGenPrepare/X86/statepoint-relocate.ll

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

DenseMap iteration order is not guaranteed to be deterministic.

Without the change,
llvm/test/Transforms/CodeGenPrepare/X86/statepoint-relocate.ll would
fail when `combineHashValue` changes (#95970).

Fixes: dba7329ebb0dbe1fabb3faaedfd31da3b8bd611d



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