[PATCH] D37239: [Instruction] add moveAfter() convenience function; NFCI

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 17:16:37 PDT 2017


spatel created this revision.
Herald added a subscriber: mcrosier.

As suggested in https://reviews.llvm.org/D37121, here's a wrapper for removeFromParent() + insertAfter().


https://reviews.llvm.org/D37239

Files:
  include/llvm/IR/Instruction.h
  lib/CodeGen/AtomicExpandPass.cpp
  lib/CodeGen/CodeGenPrepare.cpp
  lib/IR/Instruction.cpp
  lib/Transforms/Vectorize/SLPVectorizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37239.112996.patch
Type: text/x-patch
Size: 4045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170829/139683c2/attachment-0001.bin>


More information about the llvm-commits mailing list