diff options
author | David Green <david.green@arm.com> | 2021-11-24 10:41:00 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2021-11-24 10:41:00 +0000 |
commit | 581f837355b9523bd3217fb05eed3d577d51b95d (patch) | |
tree | 09fe3084e5384ee3959cd8c1391df66aa2426a57 /lldb/packages/Python/lldbsuite/test/lldbutil.py | |
parent | ca9d149e07551257813a7c9913efdfbbc23774a1 (diff) | |
download | llvm-581f837355b9523bd3217fb05eed3d577d51b95d.zip llvm-581f837355b9523bd3217fb05eed3d577d51b95d.tar.gz llvm-581f837355b9523bd3217fb05eed3d577d51b95d.tar.bz2 |
[ARM] Fold (fadd x, (vselect c, y, -1.0)) into (vselect c, (fadd x, y), x)
This is similar to D113574, but as a DAG combine, not tablegen patterns.
Doing the fold as a DAG combine allows the fadd to be folded with a
fmul, finally producing a predicated vfma. It performs the same fold of
fadd(x, vselect(p, y, -0.0)) to vselect p, (fadd x, y), x) using -0.0 as
the identity value of a fadd.
Differential Revision: https://reviews.llvm.org/D113584
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbutil.py')
0 files changed, 0 insertions, 0 deletions