[PATCH] D85959: [InstCombine] Remove unused entries in gc-liv bundle of statepoint

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 00:41:49 PDT 2020


skatkov created this revision.
skatkov added reviewers: reames, dantrushin.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
skatkov requested review of this revision.

If some of gc live value are not used in gc.relocate we can remove them
from gc-live bundle of statepoint instruction.

Also the CL removes duplicated Values in gc-live bundle.


https://reviews.llvm.org/D85959

Files:
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/IR/Instructions.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/statepoint-iter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85959.285569.patch
Type: text/x-patch
Size: 11595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200814/47643606/attachment.bin>


More information about the llvm-commits mailing list