[llvm] [VPlan] Add initial pattern match implementation for VPInstruction. (PR #80563)

via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 25 10:38:22 PST 2024


================
@@ -0,0 +1,130 @@
+//===- VPlanPatternMatch.h - Match on VPValues and recipes ------*- C++ -*-===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+//
+// This file provides a simple and efficient mechanism for performing general
+// tree-based pattern matches on the VPlan values and recipes, based on
+// LLVM's IR pattern matchers.
+//
----------------
ayalz wrote:

nit: worth saying something about current functionality and potential TODO extensions.

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


More information about the llvm-commits mailing list