[PATCH] D142169: [RS4GC] Add a GCStrategy option to enable RS4GC
Denis Antrushin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 06:19:13 PST 2023
dantrushin accepted this revision.
dantrushin added a comment.
This revision is now accepted and ready to land.
LGTM after assertion fix.
I'll take care of landing
================
Comment at: llvm/include/llvm/IR/GCStrategy.h:108-110
+ return UseRS4GC;
+ assert(useStatepoints() &&
+ "GC strategy has useRS4GC but not useStatepoints set");
----------------
Assert should go before return :-)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142169/new/
https://reviews.llvm.org/D142169
More information about the llvm-commits
mailing list