Files
clang-p2996/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Björn Pettersson c833746c6c [DSE] Make iter order deterministic in removePartiallyOverlappedStores. NFC (#127678)
In removePartiallyOverlappedStores we iterate over
InstOverlapIntervalsTy which is a DenseMap. Change that map into using
MapVector to ensure that we apply the transforms in a deterministic
order. I've only seen that the order matters if starting to use names
for the instructions created when doing the transforms. But such things
are a bit annoying when debugging etc.
2025-02-19 21:24:49 +01:00

106 KiB