summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/divergence-at-use.ll
Commit message (Collapse)AuthorAgeFilesLines
* [AMDGPU] Add amdgpu_kernel for consistency with other testsJay Foad2019-07-291-1/+1
| | | | llvm-svn: 367221
* [DivergenceAnalysis] Add methods for querying divergence at useJay Foad2019-07-291-0/+20
Summary: The existing isDivergent(Value) methods query whether a value is divergent at its definition. However even if a value is uniform at its definition, a use of it in another basic block can be divergent because of divergent control flow between the def and the use. This patch adds new isDivergent(Use) methods to DivergenceAnalysis, LegacyDivergenceAnalysis and GPUDivergenceAnalysis. This might allow D63953 or other similar workarounds to be removed. Reviewers: alex-t, nhaehnle, arsenm, rtaylor, rampitec, simoll, jingyue Reviewed By: nhaehnle Subscribers: jfb, jvesely, wdng, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65141 llvm-svn: 367218
OpenPOWER on IntegriCloud