[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:56:36 PST 2021


skatkov added a comment.

In D97833#2599403 <https://reviews.llvm.org/D97833#2599403>, @lebedev.ri wrote:

> Do they actually ever `throw` though? Can they?

Yes, they can throw.
See https://llvm.org/docs/Statepoints.html#gc-statepoint. As an example,
"Note that semantically the statepoint still represents a call or invoke to ‘target’, and the nop sequence after patching is expected to represent an operation equivalent to a call or invoke to ‘target’."


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

https://reviews.llvm.org/D97833



More information about the llvm-commits mailing list