aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionSplitter.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2024-04-23 17:37:07 +0100
committerGitHub <noreply@github.com>2024-04-23 17:37:07 +0100
commitcebc9609d8cdc6f488693cd8e4a616b935b38d2c (patch)
treef4fee0ac694bdefec2849ab1edeec70c36115198 /llvm/lib/CodeGen/MachineFunctionSplitter.cpp
parentc45fbfdb8e5a01cb4473c179dc390e9c039f3f39 (diff)
downloadllvm-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