[llvm] [SandboxVec][Legality] Query the scheduler for legality (PR #114616)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 14:49:25 PST 2024


================
@@ -167,7 +172,9 @@ class LegalityAnalysis {
   }
   /// Checks if it's legal to vectorize the instructions in \p Bndl.
   /// \Returns a LegalityResult object owned by LegalityAnalysis.
-  const LegalityResult &canVectorize(ArrayRef<Value *> Bndl);
+  /// p SkipScheduling skips the scheduler check and is only meant for testing.
----------------
vporpo wrote:

I added a TODO

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


More information about the llvm-commits mailing list