[llvm] [ModuloSchedule] Implement modulo variable expansion for pipelining (PR #65609)

James Nagurne via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 11:41:41 PDT 2024


================
@@ -779,6 +795,10 @@ class TargetInstrInfo : public MCInstrInfo {
     /// Once this function is called, no other functions on this object are
     /// valid; the loop has been removed.
     virtual void disposed() = 0;
+
+    /// Return true if the target can expand pipelined schedule with modulo
+    /// variable expansion.
+    virtual bool isMVEExpanderSupported() = 0;
----------------
DragonDisciple wrote:

Should be a sane default (false, almost certainly for now) to avoid forcing downstream targets to update their implementation.

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


More information about the llvm-commits mailing list