[llvm] [AMDGPU][TTI] Add target hook for the custom instruction uniformity (PR #137639)
Pankaj Dwivedi via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 00:30:25 PST 2025
================
@@ -23,7 +23,10 @@ enum class InstructionUniformity {
AlwaysUniform,
/// The result values can never be assumed to be uniform.
- NeverUniform
+ NeverUniform,
+
+ /// Result value can be uniform if either of first two operand are uniform.
+ EitherOfFirstTwoOp
----------------
PankajDwivedi-25 wrote:
sounds good, will `anyOfFirstTwoUseOp` be ok?
https://github.com/llvm/llvm-project/pull/137639
More information about the llvm-commits
mailing list