[DAG] narrowExtractedVectorBinOp - ensure we limit late node creation to LegalOperati...
commit761a963dfc8f80af9c5487997d5bdacb3e2c0062
authorSimon Pilgrim <RKSimon@users.noreply.github.com>
Mon, 20 Nov 2023 10:56:41 +0000 (20 10:56 +0000)
committerGitHub <noreply@github.com>
Mon, 20 Nov 2023 10:56:41 +0000 (20 10:56 +0000)
tree1637ef54cbcbcc1fb6566422e4ce6247dd2fd02f
parent4028dd2e93fa1697b68339b04b89f5ddbf7f9aea
[DAG] narrowExtractedVectorBinOp - ensure we limit late node creation to LegalOperations only (#72130)

Avoids infinite issues in some upcoming patches to help D152928 - x86 sees a number of regressions that are addressed by extending SimplifyDemandedVectorEltsForTargetNode to cover more binop opcodes
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/Analysis/CostModel/AArch64/vector-select.ll
llvm/test/CodeGen/AArch64/aarch64-minmaxv.ll
llvm/test/CodeGen/X86/avx512-insert-extract.ll
llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
llvm/test/CodeGen/X86/kshift.ll