[all-commits] [llvm/llvm-project] 254d6d: [Attributor][FIX] Ensure stable iteration order
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Thu Feb 17 10:53:32 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 254d6da02067cab500231b0ddb4db67819645cb0
https://github.com/llvm/llvm-project/commit/254d6da02067cab500231b0ddb4db67819645cb0
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Log Message:
-----------
[Attributor][FIX] Ensure stable iteration order
With
https://github.com/llvm/llvm-project/commit/668c5c688be7ab0af37739bbbe2d653be82d5c6f
we introduced an ordering issue revealed by the reverse iteration
buildbot. Depending on the order of the map that tracks the AAIsDead AAs
we ended up with slightly different attributes. This is not totally
unexpected and can happen. We should however be deterministic in our
orderings to avoid such issues.
More information about the All-commits
mailing list