[PATCH] D145194: [BOLT] Remove dependency on StringMap iteration order

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 14:35:37 PST 2023


maksfb created this revision.
maksfb added reviewers: yota9, Amir, ayermolo, rafauler, yavtuk, treapster.
Herald added a project: All.
maksfb requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Remove the usage of StringMap in places where the iteration order
affects the output since the iteration over StringMap is
non-deterministic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145194

Files:
  bolt/include/bolt/Profile/DataReader.h
  bolt/lib/Passes/ReorderData.cpp
  bolt/lib/Profile/DataAggregator.cpp
  bolt/lib/Profile/DataReader.cpp
  bolt/test/runtime/X86/fdata-escape-chars.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145194.501993.patch
Type: text/x-patch
Size: 14688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230302/0b896f12/attachment.bin>


More information about the llvm-commits mailing list