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. 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