Thanks for reply. I filed this bug in http://llvm.org/bugs/show_bug.cgi?id=16278. Antony Yu -- View this message in context: http://llvm.1065342.n5.nabble.com/How-to-generate-constant-memory-for-ptx-code-by-NVPTX-tp58384p58416.html Sent from the LLVM - Dev mailing list archive at Nabble.com.