[PATCH] D58233: Allow replacing intrinsic operands with variables

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 14 10:58:08 PST 2019


arsenm updated this revision to Diff 186877.
arsenm added a reviewer: reames.
arsenm added a comment.

Handle some special cases I noticed in the gc intrinsics (particularly operands should still not be replaced if they are in the varargs section)


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

https://reviews.llvm.org/D58233

Files:
  include/llvm/IR/CallSite.h
  lib/Transforms/Scalar/ConstantHoisting.cpp
  lib/Transforms/Utils/Local.cpp
  test/Transforms/GVNSink/indirect-call.ll
  test/Transforms/SimplifyCFG/sink-common-code.ll
  unittests/Transforms/Utils/LocalTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58233.186877.patch
Type: text/x-patch
Size: 9391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190214/2c8ed543/attachment.bin>


More information about the llvm-commits mailing list