[llvm] [Uniformity] Implement per-output machine uniformity analysis (PR #179275)

Pankaj Dwivedi via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 04:01:47 PDT 2026


================
@@ -46,6 +47,25 @@ bool llvm::GenericUniformityAnalysisImpl<MachineSSAContext>::markDefsDivergent(
   return InsertedDivergent;
 }
 
+template <>
+bool llvm::GenericUniformityAnalysisImpl<MachineSSAContext>::isAlwaysUniform(
----------------
PankajDwivedi-25 wrote:

Yes, I Think it can be removed now. as the only user for this is pushUsers which queries about inst uniformity which is not required now. as we track machine uniformity per def.

https://github.com/llvm/llvm-project/pull/179275


More information about the llvm-commits mailing list