diff options
author | Hongyu Chen <xxs_chy@outlook.com> | 2025-09-15 19:02:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-15 19:02:09 +0800 |
commit | 641ed9f66fbc931f301dd123a08bcc2d3c83ee9d (patch) | |
tree | bc20d46b37cfcbac274e1555dc9ffcd749f3afb4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2848e2801260e4cdb7468523a7c9a7df1223749e (diff) | |
download | llvm-641ed9f66fbc931f301dd123a08bcc2d3c83ee9d.zip llvm-641ed9f66fbc931f301dd123a08bcc2d3c83ee9d.tar.gz llvm-641ed9f66fbc931f301dd123a08bcc2d3c83ee9d.tar.bz2 |
[X86] Handle undef/zero/ones cases after modifying Ops and Masks (#158428)
Fixes https://github.com/llvm/llvm-project/issues/158415.
After `resolveTargetShuffleInputsAndMask` and other modifications on
`Ops` and `Mask`, unused inputs in `Ops` are erased, and may leave `Ops`
empty. This patch handles such cases before calling the final
`combineX86ShuffleChain`。
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions