================
@@ -947,11 +954,18 @@ bool InstrLowerer::lower() {
if (!ContainsProfiling && !CoverageNamesVar)
return MadeChange;
+ // Cached info for generating delayed offset calculations
+ // This is only relevant on NVPTX targets
+ SmallVector<Function *> Kernels;
+ SmallVector<const InstrProfCntrInstBase *> ValueSites;
----------------
jhuber6 wrote:
Yes, in your example you require the address of the global itself, see if you
can hack around it with aliases as those technically work on NVPTX. If not,
this is unsolvable.
https://github.com/llvm/llvm-project/pull/143568
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits