[PATCH] D53602: [IRVerifier] Allow StructRet in statepoint
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 7 11:44:29 PST 2018
anna accepted this revision.
anna added a comment.
This revision is now accepted and ready to land.
This looks good to me.
================
Comment at: lib/IR/Verifier.cpp:2825
+ // Allow sret here and check the wrapped function in verifyStatepoint.
+ if (CS.getCalledFunction() == nullptr ||
+ CS.getCalledFunction()->getIntrinsicID() !=
----------------
why do you need this first condition?
Repository:
rL LLVM
https://reviews.llvm.org/D53602
More information about the llvm-commits
mailing list