[PATCH] D60056: Hoist/sink malloc/free's in LICM.

Nick Lewycky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 2 13:31:18 PDT 2019


nicholas updated this revision to Diff 193355.
nicholas added a comment.

Fixed creation of invalid IR when the loop exit block we need to insert a free call in, is a catchswitch block.


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

https://reviews.llvm.org/D60056

Files:
  llvm/include/llvm/Analysis/LoopAllocationInfo.h
  llvm/include/llvm/IR/Instruction.h
  llvm/include/llvm/Transforms/Utils/LoopUtils.h
  llvm/lib/Analysis/CMakeLists.txt
  llvm/lib/Analysis/LoopAllocationInfo.cpp
  llvm/lib/IR/Instruction.cpp
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/test/Transforms/LICM/allocs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60056.193355.patch
Type: text/x-patch
Size: 34403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190402/8e0c3f8b/attachment.bin>


More information about the llvm-commits mailing list