[all-commits] [llvm/llvm-project] 97e921: [PatternMatch] create and use matcher for 'not' th...
RotateRight via All-commits
all-commits at lists.llvm.org
Thu Dec 2 05:51:27 PST 2021
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-12-02 (Thu, 02 Dec 2021)
[PatternMatch] create and use matcher for 'not' that excludes undef elements
We needed a stricter version of m_Not for D114462, but I wasn't
sure if that was going to be required anywhere else, so I didn't bother
to make that reusable.
It turns out we have one more existing simplification that needs
this (currently miscompiles):
And there's at least one more fold in that family that we could add.
Differential Revision: https://reviews.llvm.org/D114882
More information about the All-commits