[PATCH] D85199: GlobalISel: Add generic instructions for memory intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 05:35:44 PDT 2020


arsenm created this revision.
arsenm added reviewers: paquette, aemerson, aditya_nandakumar, dsanders, Petar.Avramovic.
Herald added subscribers: atanasyan, hiraditya, kristof.beyls, arichardson, rovka, sdardis.
Herald added a project: LLVM.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

AArch64, X86 and Mips currently directly consumes these and custom
lowering to produce a libcall, but really these should follow the
normal legalization process through the libcall/lower action.


https://reviews.llvm.org/D85199

Files:
  llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
  llvm/include/llvm/Support/TargetOpcodes.def
  llvm/include/llvm/Target/GenericOpcodes.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/CodeGen/MachineVerifier.cpp
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
  llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
  llvm/lib/Target/X86/X86LegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
  llvm/test/CodeGen/AArch64/GlobalISel/inline-memcpy.mir
  llvm/test/CodeGen/AArch64/GlobalISel/inline-memmove.mir
  llvm/test/CodeGen/AArch64/GlobalISel/inline-memset.mir
  llvm/test/CodeGen/AArch64/GlobalISel/inline-small-memcpy.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-et-al.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-with-debug-info.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-memlib-debug-loc.mir
  llvm/test/CodeGen/Mips/GlobalISel/irtranslator/call.ll
  llvm/test/CodeGen/Mips/GlobalISel/legalizer/dyn_stackalloc.mir
  llvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator-struct-return.ll
  llvm/test/MachineVerifier/test_g_memcpy.mir
  llvm/test/MachineVerifier/test_g_memset.mir
  llvm/test/MachineVerifier/test_memccpy_intrinsics.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85199.282878.patch
Type: text/x-patch
Size: 46767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200804/b609d609/attachment.bin>


More information about the llvm-commits mailing list