aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/XCOFFObjectFile.cpp
diff options
context:
space:
mode:
authorCarl Ritson <carl.ritson@amd.com>2021-03-18 09:31:39 +0900
committerCarl Ritson <carl.ritson@amd.com>2021-03-18 10:00:41 +0900
commit1a4bc3aba360522983692ac933b2b6daaa5f5082 (patch)
tree7bbb4ccdfdce24e00ec64abe427b86ccabad52ce /llvm/lib/Object/XCOFFObjectFile.cpp
parent5a8d5a2859d9bb056083b343588a2d87622e76a2 (diff)
downloadllvm-1a4bc3aba360522983692ac933b2b6daaa5f5082.zip
llvm-1a4bc3aba360522983692ac933b2b6daaa5f5082.tar.gz
llvm-1a4bc3aba360522983692ac933b2b6daaa5f5082.tar.bz2
[AMDGPU] Avoid unnecessary graph visits during WQM marking
Avoid revisiting nodes with the same set of defined lanes by using a unified visited set which integrates lanes into the key. This retains the intent of the original code by still revisiting a subgraph if a different set of lanes is defined and hence marking might progress differently. Note: default size of the visited set has been confirmed to cover >99% of invocations in large array of test shaders. Reviewed By: piotr Differential Revision: https://reviews.llvm.org/D98772
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions