[llvm] [AMDGPU][Uniformity][TTI] Make Uniformity Analysis Operand-Aware with Custom Target Hook (PR #137639)
Pankaj Dwivedi via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 16 07:29:13 PST 2025
================
@@ -420,6 +428,10 @@ template <typename ContextT> class GenericUniformityAnalysisImpl {
// Internal worklist for divergence propagation.
std::vector<const InstructionT *> Worklist;
+ // Map containing tracked instruction that can be proven uniform based on its
+ // operand Uniformity.
+ DenseMap<const InstructionT *, InstructionUniformity> UniformInstruction;
----------------
PankajDwivedi-25 wrote:
true, `Denseset` should be fine?
https://github.com/llvm/llvm-project/pull/137639
More information about the llvm-commits
mailing list