[PATCH] D107345: Introduce LowerGCLeafIntrinsics pass

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 02:58:53 PDT 2021


mkazantsev updated this revision to Diff 364019.
mkazantsev added a comment.

Not sure I understand well what is and what is not compatible with opaque pointers, but I've tried to addressed the comment by removing `getPointerElementType`. Also added a preheader to the loop and moved number of iterations computation there.


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

https://reviews.llvm.org/D107345

Files:
  llvm/include/llvm/InitializePasses.h
  llvm/include/llvm/Transforms/Scalar.h
  llvm/include/llvm/Transforms/Scalar/LowerGCLeafIntrinsics.h
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Scalar/CMakeLists.txt
  llvm/lib/Transforms/Scalar/LowerGCLeafIntrinsics.cpp
  llvm/lib/Transforms/Scalar/Scalar.cpp
  llvm/test/Transforms/LowerGCLeafIntrinsics/memcpy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107345.364019.patch
Type: text/x-patch
Size: 24309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210804/317b840e/attachment.bin>


More information about the llvm-commits mailing list