[all-commits] [llvm/llvm-project] 04333e: [llvm][NFC] Use CreateMemTransferInst more

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Sat Aug 5 14:34:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04333e8e8c1a5bec1019f590876c270f9d2c7c7a
      https://github.com/llvm/llvm-project/commit/04333e8e8c1a5bec1019f590876c270f9d2c7c7a
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2023-08-05 (Sat, 05 Aug 2023)

  Changed paths:
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/lib/IR/IRBuilder.cpp

  Log Message:
  -----------
  [llvm][NFC] Use CreateMemTransferInst more

Rather than have distinct implementations of memcpy.inline and memmove
creators, just use the existing CreateMemTransferInst, which plain
memcpy already uses. The AMD backend already generates memmove from
that function.

Reviewed By: gchatelet, jroelofs

Differential Revision: https://reviews.llvm.org/D156991




More information about the All-commits mailing list