aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/bench.py
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-11-15 15:16:37 -0800
committerCraig Topper <craig.topper@sifive.com>2021-11-15 17:15:51 -0800
commit233def40f7adfc92db4492e7d612e6ff1d85931f (patch)
tree2cf48492a44c5526734c2f7992d5eba61fcf143a /lldb/packages/Python/lldbsuite/test/bench.py
parentd2b43605c96ff5669653455fdfc06ec26876f436 (diff)
downloadllvm-233def40f7adfc92db4492e7d612e6ff1d85931f.zip
llvm-233def40f7adfc92db4492e7d612e6ff1d85931f.tar.gz
llvm-233def40f7adfc92db4492e7d612e6ff1d85931f.tar.bz2
[DAGCombiner] Prevent unfoldMaskedMerge from creating an AND with two inverted inputs.
It's possible that the mask is already a NOT. At least if InstCombine hasn't canonicalized the input. In that case we will form an ANDN with X instead of with Y. So we don't need to worry about Y being a constant. We might need to check that X isn't a constant instead, but we don't have a test case for that yet. This fixes a size regression found when trying to enable this combine for RISCV in D113937. Differential Revision: https://reviews.llvm.org/D113948
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/bench.py')
0 files changed, 0 insertions, 0 deletions