aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BasicBlockSections.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-08-18 12:26:14 -0700
committerPhilip Reames <listmail@philipreames.com>2023-08-18 12:28:27 -0700
commit67b71ad04a7487331972ec522291c310c6429150 (patch)
treec501972fbb83dd6c990a0afc230515a2f52a8b9b /llvm/lib/CodeGen/BasicBlockSections.cpp
parent630ba7d705fa1d55096dbbf88c6886d64033a780 (diff)
downloadllvm-67b71ad04a7487331972ec522291c310c6429150.zip
llvm-67b71ad04a7487331972ec522291c310c6429150.tar.gz
llvm-67b71ad04a7487331972ec522291c310c6429150.tar.bz2
[DAG] Fold insert_subvector undef, (extract_subvector X, 0), 0 with non-matching types
We have an existing DAG combine for when an insert/extract subvector pair is entirely a nop, but we hadn't handled the case where the net result was either an insert or an extract (but not both). The transform is restricted to index = 0 to avoid having to adjust indices after the transform. Differential Revision: https://reviews.llvm.org/D158201
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions