[PATCH] D132392: [SVE] Extend getMemVTFromNode to cover the sret variants of sve.ld2/3/4.

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 03:05:49 PDT 2022


CarolineConcatto added a comment.

BTW I pushed this patch  to main:
https://reviews.llvm.org/D133023



================
Comment at: llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:5153
 
-  if (Opcode != ISD::INTRINSIC_VOID)
+  if (Opcode != ISD::INTRINSIC_VOID && Opcode != ISD::INTRINSIC_W_CHAIN)
     return EVT();
----------------
I believe you can remove this test, no?
It should fall into the default switch statement.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132392



More information about the llvm-commits mailing list