[DAG] Peek through ZEXT/TRUNC in foldAddSubMasked1
authorAmaury Séchet <deadalnix@gmail.com>
Tue, 17 Jan 2023 02:17:18 +0000 (02:17 +0000)
committerAmaury Séchet <deadalnix@gmail.com>
Thu, 19 Jan 2023 13:23:42 +0000 (13:23 +0000)
commit7e5681cf295a267de0b8c2216f049d0285a73c4c
tree4721a58c684270cad3d4ee29a8d3df8ebb313fba
parente70ca7b35319a3621f9d9c6475926428f8c5c000
[DAG] Peek through ZEXT/TRUNC in foldAddSubMasked1

Fix a regression in D141883

Depends on D141883

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D141884
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/known-signbits-vector.ll