Fixes a bug in NVPTXAsmPrinter on dealing with initializers that are aggregates
of addrspacecast. e.g.
constant {i32*, i32*} {null, addrspacecast(gep(...) to i32*)}
Depends on D9130
Paths
| Differential D9202
[NVPTX] aggregates of addrspacecast as initializer AbandonedPublic Authored by jingyue on Apr 22 2015, 10:58 AM.
Details
Summary Fixes a bug in NVPTXAsmPrinter on dealing with initializers that are aggregates constant {i32*, i32*} {null, addrspacecast(gep(...) to i32*)} Depends on D9130
Diff Detail Event Timelinejingyue updated this object. jingyue added a parent revision: D9130: [NVPTX] Emits "generic()" depending on the original address space.
Revision Contents
Diff 24244 lib/Target/NVPTX/NVPTXAsmPrinter.h
test/CodeGen/NVPTX/addrspacecast-gvar.ll |
Unfortunately ptxas will reject that. It must be 'generic(g) + 8'