[llvm] [LV] Add vplan folds for urem(X, PowerOf2) -> and(X, PowerOf2 - 1) (PR #212198)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 01:03:59 PDT 2026


david-arm wrote:

> The update scripts have a --filter option, I was wondering if something like --filter '= and' would not work to only match the interesting lines?

The problem with this approach is that I believe it conflicts with the goal of moving more tests from debugloc.ll into this new file. We'll get to the point where we need so many `--filter` options to catch all the various `dbg` annotations that we may as well just to generate all of the CHECK lines. That's why I chose to manually add the CHECK lines for the ones I care about. If you still prefer to use the `filter` argument I'm happy to do so, but there will be plenty of them.


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


More information about the llvm-commits mailing list