[PATCH] D150387: [SelectionDAG] Correct AddNodeIDCustom for MemIntrinsicSDNodes.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 11:12:13 PDT 2023


craig.topper created this revision.
craig.topper added reviewers: efriedma, arsenm, RKSimon, bogner.
Herald added subscribers: ecnelises, pengfei, hiraditya.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

We were missing any support for ISD::INTRINSIC_W_CHAIN/INTRINSIC_VOID
used for memory operations.

For ISD::PREFETCH and target memory nodes we didn't add the subclass
data.

This patch handles all MemIntrinsicSDNode in one place and adds the
missing subclass data.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150387

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast_from_memory.ll
  llvm/test/CodeGen/X86/pr57340.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150387.521376.patch
Type: text/x-patch
Size: 7087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230511/d6bc45bd/attachment.bin>


More information about the llvm-commits mailing list