diff options
author | Hongtao Yu <hoy@fb.com> | 2022-02-28 11:28:31 -0800 |
---|---|---|
committer | Hongtao Yu <hoy@fb.com> | 2022-03-08 09:08:47 -0800 |
commit | 50bc945a8fc539894fdbf618ace28085c1e19534 (patch) | |
tree | 6f663c9833880ea3a7a34b29c0b75b595c892407 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | bc380c0930c9e110b7f6dda97ffee417f9cba00d (diff) | |
download | llvm-50bc945a8fc539894fdbf618ace28085c1e19534.zip llvm-50bc945a8fc539894fdbf618ace28085c1e19534.tar.gz llvm-50bc945a8fc539894fdbf618ace28085c1e19534.tar.bz2 |
[CSSPGO][SCCIterator] Fix a non-determinism in scc_member_iterator
Previously we initialed the work queue with MST roots based on NodeInfoMap which is an unordered map. This could cause a non-determinism. I'm fixing this by initializing the queue based on SortedEdges.
I don't see any performance move with this change. However this helps debugging.
Reviewed By: wenlei
Differential Revision: https://reviews.llvm.org/D120670
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions