[PATCH] D105247: [Intrinsics] Make MemCpyInlineInst a MemCpyInst

Jon Roelofs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 30 16:49:30 PDT 2021


jroelofs created this revision.
jroelofs added reviewers: arsenm, aemerson, paquette, fhahn.
Herald added subscribers: dexonsmith, kerbowa, hiraditya, nhaehnle, jvesely.
jroelofs requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This opens up more optimization opportunities in passes that already handle MemCpyInst's.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105247

Files:
  llvm/include/llvm/IR/IRBuilder.h
  llvm/include/llvm/IR/InstVisitor.h
  llvm/include/llvm/IR/IntrinsicInst.h
  llvm/lib/IR/IRBuilder.cpp
  llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
  llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
  llvm/test/Transforms/InferAddressSpaces/AMDGPU/mem-intrinsics.ll
  llvm/test/Transforms/LoopIdiom/memcpy-inline-intrinsic.ll
  llvm/test/Transforms/MemCpyOpt/memcpy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105247.355723.patch
Type: text/x-patch
Size: 18568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210630/f02e217f/attachment.bin>


More information about the llvm-commits mailing list