[all-commits] [llvm/llvm-project] 746076: [SelectionDAG] Fix crash in mask widening for non-...
Valeriy Savchenko via All-commits
all-commits at lists.llvm.org
Tue Sep 22 11:25:42 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 746076bccd5fa18c09a29107eef5c101ea0e2674
https://github.com/llvm/llvm-project/commit/746076bccd5fa18c09a29107eef5c101ea0e2674
Author: Valeriy Savchenko <vsavchenko at apple.com>
Date: 2026-09-22 (Tue, 22 Sep 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/X86/vselect-widen-mask-tree.ll
Log Message:
-----------
[SelectionDAG] Fix crash in mask widening for non-simple element types (#225460)
We reconstruct the best fitting type for the two given operands and
those are not guaranteed to have simple types. EVT::getIntegerVT as
opposed to MVT::getIntegerVT handles this case.
Fixes a regression introduced in #217307.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list