[llvm] [TTI] Remove PPC hasActiveVectorLength impl, simplify interface (NFC). (PR #142310)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 1 07:33:57 PDT 2025


================
@@ -95,14 +95,7 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
   /// https://llvm.org/docs/LangRef.html#vector-predication-intrinsics and
   /// "IR-level VP intrinsics",
   /// https://llvm.org/docs/Proposals/VectorPredication.html#ir-level-vp-intrinsics).
-  /// \param Opcode the opcode of the instruction checked for predicated version
-  /// support.
-  /// \param DataType the type of the instruction with the \p Opcode checked for
-  /// prediction support.
-  /// \param Alignment the alignment for memory access operation checked for
-  /// predicated version support.
-  bool hasActiveVectorLength(unsigned Opcode, Type *DataType,
-                             Align Alignment) const override;
+  bool hasActiveVectorLength() const override;
----------------
alexey-bataev wrote:

Need to adjust the comment above too

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


More information about the llvm-commits mailing list