[PATCH] D136713: [SDAG] avoid vector extract/insert around binop

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 03:30:27 PDT 2022


dmgreen added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:23548
+    }
+  }
+
----------------
RKSimon wrote:
> Do we need a isShuffleMaskLegal check?
Oh that might be a good idea, some instruction sets like MVE do not have many shuffles. It will depend on the type, it may just be a lane move which is cheap, but may require going through grp regs. I'm not sure there is a lot in it either way though, it might be slow in either case for architectures like that.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136713/new/

https://reviews.llvm.org/D136713



More information about the llvm-commits mailing list