[PATCH] D129537: [X86][DAGISel] Don't widen shuffle element with AVX512

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 06:08:24 PDT 2022


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM - with one minor comment for future work



================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:19326
+    case ISD::AND:
+    case ISD::XOR:
+      break;
----------------
RKSimon wrote:
> This list is going to get longer, and we're likely to miss patterns that only fold to target nodes later on - I'm wondering whether we could consider accepting any TLI.isBinOp() case here?
Please can you add a TODO about maybe converting this to TLI.isBinOp()?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129537



More information about the llvm-commits mailing list