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

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 10:08:42 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,
----------------
tschuett wrote:

As long as you are not using the pass in production, opt should suffice for use it or not.

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


More information about the llvm-commits mailing list