[llvm] [LLVM][CodeGen][SVE] List MVTs that are desirable for extending loads. (PR #149153)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 17 03:44:29 PDT 2025
================
@@ -7633,7 +7633,7 @@ SDValue DAGCombiner::visitAND(SDNode *N) {
if (SDValue(GN0, 0).hasOneUse() &&
isConstantSplatVectorMaskForType(N1.getNode(), ScalarVT) &&
- TLI.isVectorLoadExtDesirable(SDValue(SDValue(GN0, 0)))) {
+ TLI.isVectorLoadExtDesirable(SDValue(SDValue(N, 0)))) {
----------------
paulwalker-arm wrote:
I needed to fix this to maintain the existing tests. Without this fix most of the sve-masked-gather-*.ll tests started to fail. I guess the nested calls to `SDValues` was just a typo so have removed them.
https://github.com/llvm/llvm-project/pull/149153
More information about the llvm-commits
mailing list