jhuber6 wrote:

> > > For now, it's probably easier just to put some indirection in this and 
> > > pass a struct to the first argument.
> > 
> > 
> > It would be even easier to not make the move. Does "addr" have different 
> > meanings in each context where an offload_entry is used? Is this going to 
> > confuse the debugger?
> 
> It's just a struct, what the argument do is determined by an enum, so when 
> given a `managed` var, we'd just GEP the pointer instead of passing it 
> directly. I probably should work on unifying all of these though, but that's 
> a larger challenge since I'm just trying to get it over the finish line right 
> now.



https://github.com/llvm/llvm-project/pull/123359
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to