================
@@ -1564,6 +1576,11 @@ void CIRGenFunction::instantiateIndirectGotoBlock() {
{builder.getUnknownLoc()});
}
+void CIRGenFunction::takeAddressOfConstantLabel(cir::BlockAddrInfoAttr info) {
+ constBlockAddressLabels.push_back(info);
+ instantiateIndirectGotoBlock();
----------------
andykaylor wrote:
I'm not sure we should be doing this here. I see that we have code to mark the
indirect goto block as poison if it has no predecessor, but why don't we just
wait until we see an indirect goto statement to instantiate it?
https://github.com/llvm/llvm-project/pull/201644
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits