diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2025-04-15 08:33:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-15 08:33:42 +0100 |
commit | 17b4cacbd48b75a6a4c9dfe687dd39f5e88189c3 (patch) | |
tree | 7ec9ae48d1d43f8850a0a1472778182491cadd78 /clang/lib/Basic/FileManager.cpp | |
parent | fceb9cecdf6264eb773ee826b72a51a9ec68ec74 (diff) | |
download | llvm-17b4cacbd48b75a6a4c9dfe687dd39f5e88189c3.zip llvm-17b4cacbd48b75a6a4c9dfe687dd39f5e88189c3.tar.gz llvm-17b4cacbd48b75a6a4c9dfe687dd39f5e88189c3.tar.bz2 |
[DAG] isSplatValue - only treat binop splats shared undef elements as undef (#135597)
#134602 demonstrated an issue where an AND node always had at least one demanded UNDEF element in either operand, and incorrectly reported this an all-undef result - despite the other element being 0 (so would correctly fold to 0).
This fix only assumes a binops splats element is undefined if both operands are undef.
Fixes #134602
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions