[llvm] [VPlan] Fix `pseudoprobe` being treated a vector intrinsic (PR #185347)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 06:29:29 PDT 2026
================
@@ -0,0 +1,64 @@
+; REQUIRES: asserts
+; RUN: opt -S -passes=loop-vectorize -enable-vplan-native-path -force-vector-width=2 -debug-only=loop-vectorize < %s 2>&1 | FileCheck %s
+; RUN: opt -S -passes=loop-vectorize -scalable-vectorization=on -force-vector-width=4 -force-vector-interleave=1 -force-target-supports-scalable-vectors=true -debug-only=loop-vectorize < %s 2>&1 | FileCheck %s --check-prefix=CHECK-SCALABLE
+
+; Verify that llvm.pseudoprobe present in the outer loop does not crash the
+; VPlan native path and is not treated as a widenable intrinsic.
----------------
fhahn wrote:
can you please either check the full IR or full VPlan, so it is easier to see if the generated results are correct?
If you want to only check the VPlan, please move in the VPlan subdirectory + auto-generate the checks
https://github.com/llvm/llvm-project/pull/185347
More information about the llvm-commits
mailing list