[llvm] [AMDGPU][TTI] Add Target Hook for Instruction Uniformity (getInstructionUniformity) (PR #137639)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 23:51:55 PDT 2025
================
@@ -407,6 +408,11 @@ template <typename ContextT> class GenericUniformityAnalysisImpl {
void recordTemporalDivergence(ConstValueRefT, const InstructionT *,
const CycleT *);
+ bool isAnyOperandUniform(const InstructionT &Instr) const;
+
+ /// \brief keep track of special target intrinsics that can be proven uniform.
+ void addSpecialUniformIntrinsic(const InstructionT &Instr);
----------------
arsenm wrote:
It's not clear to me what 'special' means. Is there a better name?
https://github.com/llvm/llvm-project/pull/137639
More information about the llvm-commits
mailing list