The new pass walks kernel's pointer arguments, then loads from them.
If a loaded value is a pointer and loaded pointer is unmodified in
the kernel before the load, then promote loaded pointer to global.
Then recursively continue.
Details
Details
Diff Detail
Diff Detail
clang-format: please reformat the code
34 diff lines are omitted. See full path.