[PATCH] D97833: [InstCombine] Move statepoint intrinsic handling from visitCall to visitCallBase

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 2 22:38:04 PST 2021


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

statepoint intrinsic can be used in invoke context, so it should be handled in visitCallBase
 to cover both call and invoke.


https://reviews.llvm.org/D97833

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/statepoint-cleanup.ll
  llvm/test/Transforms/InstCombine/statepoint.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97833.327676.patch
Type: text/x-patch
Size: 31905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210303/2e6f0004/attachment.bin>


More information about the llvm-commits mailing list