[Attributor][NFCI] Avoid spending time resolving kernel reachability queries
We know kernels (generally) cannot be called from within the module. Thus, for reachability we would need to step back from a kernel which would allow us to reach anything anyway. Even if a kernel is invoked from another kernel, values like allocas and shared memory are not accessible. We implicitly check for this situation to avoid costly lookups.
Loading
Please sign in to comment