diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2025-06-24 10:50:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-24 10:50:29 +0100 |
commit | 594ebe63406b1deaf1c4be86c8c7f4c6d634fa08 (patch) | |
tree | dd62aacba57f0ac204b08178561d54a729ca19c2 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 54b522f6fdff493383e6c8a15f12930c988b7855 (diff) | |
download | llvm-594ebe63406b1deaf1c4be86c8c7f4c6d634fa08.zip llvm-594ebe63406b1deaf1c4be86c8c7f4c6d634fa08.tar.gz llvm-594ebe63406b1deaf1c4be86c8c7f4c6d634fa08.tar.bz2 |
[X86] combineSelect - move vselect(cond, pshufb(x), pshufb(y)) -> or(pshufb(x), pshufb(y)) fold (#145475)
Move the OR(PSHUFB(),PSHUFB()) fold to reuse an existing
createShuffleMaskFromVSELECT result and ensure it is performed before
the combineX86ShufflesRecursively combine to prevent some hasOneUse
failures noticed in #133947 (combineX86ShufflesRecursively still
unnecessarily widens vectors in several locations).
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions