[all-commits] [llvm/llvm-project] cd0e19: [DAGCombiner] Stop visitEXTRACT_SUBVECTOR creating...
paulwalker-arm via All-commits
all-commits at lists.llvm.org
Sun Aug 15 10:38:15 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cd0e1964137f1cd7b508809ec80c7d9dcb3f0458
https://github.com/llvm/llvm-project/commit/cd0e1964137f1cd7b508809ec80c7d9dcb3f0458
Author: Paul Walker <paul.walker at arm.com>
Date: 2021-08-15 (Sun, 15 Aug 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/sve-fixed-length-masked-scatter.ll
Log Message:
-----------
[DAGCombiner] Stop visitEXTRACT_SUBVECTOR creating illegal BITCASTs post legalisation.
visitEXTRACT_SUBVECTOR can sometimes create illegal BITCASTs when
removing "redundant" INSERT_SUBVECTOR operations. This patch adds
an extra check to ensure such combines only occur after operation
legalisation if any resulting BITBAST is itself legal.
Differential Revision: https://reviews.llvm.org/D108086
More information about the All-commits
mailing list