[all-commits] [llvm/llvm-project] a141a2: [SPIR-V] Fix flakiness during switch generation. (...
Nathan Gauër via All-commits
all-commits at lists.llvm.org
Tue Jun 11 04:57:53 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a141a28c0cf415d8ca410a636c3aacf3d683ab38
https://github.com/llvm/llvm-project/commit/a141a28c0cf415d8ca410a636c3aacf3d683ab38
Author: Nathan Gauër <brioche at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-break.ll
M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-convergence-in-break.ll
M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-multiple-break.ll
Log Message:
-----------
[SPIR-V] Fix flakiness during switch generation. (#95001)
The case-list of the switches generated by this pass were not
"deterministic" (based on allocation patterns).
This is because the CaseList order relied on an unordered_set order.
Using the sorted exit target list for those should solve the problem.
Fixes #94961
Signed-off-by: Nathan Gauër <brioche at google.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list