aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHongtao Yu <hoy@fb.com>2022-02-28 11:28:31 -0800
committerHongtao Yu <hoy@fb.com>2022-03-08 09:08:47 -0800
commit50bc945a8fc539894fdbf618ace28085c1e19534 (patch)
tree6f663c9833880ea3a7a34b29c0b75b595c892407 /flang/lib/Frontend/CompilerInvocation.cpp
parentbc380c0930c9e110b7f6dda97ffee417f9cba00d (diff)
downloadllvm-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