[llvm] [AMDGPU][TTI] Add target hook for the custom instruction uniformity (PR #137639)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 31 22:03:03 PDT 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
----------------
arsenm wrote:
This should be more specifically uses (preferably, any use operand)
https://github.com/llvm/llvm-project/pull/137639
More information about the llvm-commits
mailing list