[llvm] [SandboxVec] Boilerplate (PR #107431)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 11:22:22 PDT 2024


================
@@ -0,0 +1,63 @@
+//===- SandboxVectorizer.cpp - Vectorizer based on Sandbox IR -------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Transforms/Vectorize/SandboxVec/SandboxVectorizer.h"
+#include "llvm/Support/CommandLine.h"
+
+using namespace llvm;
+
+#define SV_NAME "sandbox-vectorizer"
+#define DEBUG_TYPE "SBVec"
+
+cl::opt<bool>
+    SBVecDisable("sbvec-disable", cl::init(false), cl::Hidden,
----------------
aeubanks wrote:

it's not being added to any pipelines, so this option isn't useful right now. and once it is added to the pipelines, it'll be controlled by `PipelineTuningOptions::SLPVectorization` anyway

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


More information about the llvm-commits mailing list