diff options
author | David Green <david.green@arm.com> | 2024-04-23 17:37:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 17:37:07 +0100 |
commit | cebc9609d8cdc6f488693cd8e4a616b935b38d2c (patch) | |
tree | f4fee0ac694bdefec2849ab1edeec70c36115198 /llvm/lib/CodeGen/MachineFunctionSplitter.cpp | |
parent | c45fbfdb8e5a01cb4473c179dc390e9c039f3f39 (diff) | |
download | llvm-cebc9609d8cdc6f488693cd8e4a616b935b38d2c.zip llvm-cebc9609d8cdc6f488693cd8e4a616b935b38d2c.tar.gz llvm-cebc9609d8cdc6f488693cd8e4a616b935b38d2c.tar.bz2 |
[AArch64] Match ZIP and UZP starting from undef elements. (#89578)
In case the first element of a zip/uzp mask is undef, the isZIPMask and
isUZPMask functions have a 50% chance of picking the wrong
"WhichResult", meaning they don't match a zip/uzp where they could. This
patch alters the matching code to first check for the first non-undef
element, to try and get WhichResult correct.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
0 files changed, 0 insertions, 0 deletions