[DAG] visitINSERT_VECTOR_ELT - refactor BUILD_VECTOR insertion to remove early-out...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 11 Jun 2022 11:01:13 +0000 (12:01 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 11 Jun 2022 11:01:13 +0000 (12:01 +0100)
commit693f4db1ecbeb8e62f64b9c23b6703f44f4a2ddd
tree02f4a35b8af67a75a34b8e712052ae28effab095
parent10d55c4634fab8758cbe972f7a252b2e47ca32db
[DAG] visitINSERT_VECTOR_ELT - refactor BUILD_VECTOR insertion to remove early-out. NFCI.

Remove the early-out cases so we can more easily add additional folds in the future.
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp