This is an archive of the discontinued LLVM Phabricator instance.

[NVPTX] Support global variables of integer type larger than i64.
ClosedPublic

Authored by jlebar on Jan 17 2017, 1:10 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar created this revision.Jan 17 2017, 1:10 PM
majnemer added inline comments.Jan 17 2017, 1:45 PM
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
2002 ↗(On Diff #84732)

Do we want the store size or the allocation size?

jlebar updated this revision to Diff 84762.Jan 17 2017, 4:04 PM

Use AllocSize, not StoreSize.

jlebar marked an inline comment as done.Jan 17 2017, 4:05 PM
jlebar added inline comments.
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
2002 ↗(On Diff #84732)

Ah, indeed.

This revision is now accepted and ready to land.Jan 17 2017, 4:39 PM
jlebar marked an inline comment as done.Jan 17 2017, 4:40 PM

Thank you for the review!

This revision was automatically updated to reflect the committed changes.