HomePhabricator

[NVPTX] Use LDG for pointer induction variables.

Description

[NVPTX] Use LDG for pointer induction variables.

More specifically, make NVPTXISelDAGToDAG able to emit cached loads (LDG) for pointer induction variables.

Also fix latent bug where LDG was not restricted to kernel functions. I believe that this could not be triggered so far since we do not currently infer that a pointer is global outside a kernel function, and only loads of global pointers are considered for cached loads.

Details

Committed
brouneAug 5 2015, 4:11 PM
Parents
rL244165: [libFuzzer] in dfsan mode, set labels every time we start recording traces as…
Branches
Unknown
Tags
Unknown