[AMDGPU] Fix non-deterministic iteration order
authorJay Foad <jay.foad@amd.com>
Mon, 10 Feb 2020 14:09:34 +0000 (14:09 +0000)
committerJay Foad <jay.foad@amd.com>
Tue, 11 Feb 2020 09:19:30 +0000 (09:19 +0000)
commitb06a13f541120e31a9ec3fdb144b03dad0f1e620
treee03e144d79da28a7583a29f58db1c12fd532ce4b
parent2733ad2c244ab33553bbd1aaca4c76907fdd0760
[AMDGPU] Fix non-deterministic iteration order

Summary:
As far as I know this did not affect code generation, but it did affect
the order of -debug-only=si-wqm output and the naming of autonamed
values in -print-after=si-wqm output.

Reviewers: arsenm, rampitec, nhaehnle

Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, hiraditya, mgrang, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74317
llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp