[llvm] [Unifomity] Remove unused PhiInput definition (NFC) (PR #161116)

via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 28 19:52:00 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-adt

Author: Carl Ritson (perlfu)

<details>
<summary>Changes</summary>

This appears to have no users.
Putting this to review in case there is some use I am unaware of.

---
Full diff: https://github.com/llvm/llvm-project/pull/161116.diff


1 Files Affected:

- (modified) llvm/include/llvm/ADT/GenericUniformityImpl.h (-9) 


``````````diff
diff --git a/llvm/include/llvm/ADT/GenericUniformityImpl.h b/llvm/include/llvm/ADT/GenericUniformityImpl.h
index 141816c304397..7fb0dbe22f12f 100644
--- a/llvm/include/llvm/ADT/GenericUniformityImpl.h
+++ b/llvm/include/llvm/ADT/GenericUniformityImpl.h
@@ -408,15 +408,6 @@ template <typename ContextT> class GenericUniformityAnalysisImpl {
                                 const CycleT *);
 
 protected:
-  /// \brief Value/block pair representing a single phi input.
-  struct PhiInput {
-    ConstValueRefT value;
-    BlockT *predBlock;
-
-    PhiInput(ConstValueRefT value, BlockT *predBlock)
-        : value(value), predBlock(predBlock) {}
-  };
-
   const ContextT &Context;
   const FunctionT &F;
   const CycleInfoT &CI;

``````````

</details>


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


More information about the llvm-commits mailing list