[llvm] [VPlan] Add initial pattern match implementation for VPInstruction. (PR #80563)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 26 00:29:44 PST 2024
================
@@ -475,6 +474,7 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) {
[](VPValue *V) { return V->getNumUsers(); }))
continue;
+ using namespace llvm::PatternMatch;
----------------
fhahn wrote:
At the moment, the code here still uses the IR matcher. Using `llvm::PatternMatch` leads to conflicts with the matchers in `VPlanPatternMatch` (`m_Not` is defined in both). Alternatively could also rename to more verbose/cumbersome `m_VPNot`)
https://github.com/llvm/llvm-project/pull/80563
More information about the llvm-commits
mailing list