diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-04-20 18:25:24 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-04-20 23:27:08 -0500 |
commit | dc3b5b00fea104f231ae70fecab9d625fe14158c (patch) | |
tree | 02d729e1e0e006463a895128880d7d07de2f6d2f /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 8855fec37e7cabdfbfd9645c069a272545ba04d3 (diff) | |
download | llvm-dc3b5b00fea104f231ae70fecab9d625fe14158c.zip llvm-dc3b5b00fea104f231ae70fecab9d625fe14158c.tar.gz llvm-dc3b5b00fea104f231ae70fecab9d625fe14158c.tar.bz2 |
[OpenMPOpt] Make the combination of `ident_t*` deterministic
Before we kept the first applicable `ident_t*` during deduplication of
runtime calls. The problem is that "first" is dependent on the iteration
order of a DenseMap. Since the proper solution, which is to combine the
information from all `ident_t*`, should be deterministic on its own, we
will not try to make the iteration order deterministic. Instead, we will
create a fresh `ident_t*` if there is not a unique existing `ident_t*`
to pick.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions