[llvm] [LV] Add vplan folds for urem(X, PowerOf2) -> and(X, PowerOf2 - 1) (PR #212198)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 27 08:01:32 PDT 2026
================
@@ -0,0 +1,36 @@
+; RUN: opt -p debugify,loop-vectorize -force-vector-width=4 -force-vector-interleave=1 -S \
+; RUN: -vplan-print-after=printOptimizedVPlan < %s 2> %t | FileCheck %s
+; RUN: cat %t | FileCheck %s --check-prefix=VPLAN
----------------
artagnon wrote:
The issue with this test is that it unfortunately cannot be regen'ed by UTC? Better to avoid this kind of incantation if possible? :(
https://github.com/llvm/llvm-project/pull/212198
More information about the llvm-commits
mailing list