[llvm] [VectorUtils] Simplify the code by new function InterleaveGroup::isFull. nfc (PR #151112)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 06:06:55 PDT 2025


================
@@ -633,6 +633,9 @@ template <typename InstTy> class InterleaveGroup {
     return true;
   }
 
+  /// Return true if the group has no gaps.
+  bool isFull() const { return getNumMembers() == getFactor(); }
----------------
alexey-bataev wrote:

Sounds good to me

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


More information about the llvm-commits mailing list