[PATCH] D28825: [NVPTX] Support global variables of integer type larger than i64.
    David Majnemer via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jan 17 13:45:07 PST 2017
    
    
  
majnemer added inline comments.
================
Comment at: llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp:2002
+    APInt Val = CI->getValue();
+    for (unsigned I = 0, E = DL.getTypeStoreSize(CPV->getType()); I < E; ++I) {
+      uint8_t Byte = Val.getLoBits(8).getZExtValue();
----------------
Do we want the store size or the allocation size?
https://reviews.llvm.org/D28825
    
    
More information about the llvm-commits
mailing list