Page MenuHomePhabricator

[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
of addrspacecast. e.g.

constant {i32*, i32*} {null, addrspacecast(gep(...) to i32*)}

Depends on D9130

Diff Detail

Event Timeline

jingyue updated this revision to Diff 24244.Apr 22 2015, 10:58 AM
jingyue retitled this revision from to [NVPTX] aggregates of addrspacecast as initializer.
jingyue updated this object.
jingyue edited the test plan for this revision. (Show Details)
jingyue added reviewers: jholewinski, eliben.
jingyue added a subscriber: Unknown Object (MLST).
jholewinski added inline comments.Apr 22 2015, 11:12 AM
test/CodeGen/NVPTX/addrspacecast-gvar.ll
7

Unfortunately ptxas will reject that. It must be 'generic(g) + 8'

jingyue abandoned this revision.Apr 24 2015, 3:26 PM