NVPTXGenericToNVVM was using target-specific intrinsics to do address
space casts. Using the addrspacecast instruction is (a lot) simpler.
But it also has the advantage of being understandable to other passes.
In particular, InferAddrSpaces is able to understand these address space
casts and remove them in most cases.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 15553 Build 15553: arc lint + arc unit