[llvm] r223237 - Silencing a 32-bit implicit conversion warning in MSVC; NFC.
Aaron Ballman
aaron at aaronballman.com
Wed Dec 3 06:39:58 PST 2014
Author: aaronballman
Date: Wed Dec 3 08:39:58 2014
New Revision: 223237
URL: http://llvm.org/viewvc/llvm-project?rev=223237&view=rev
Log:
Silencing a 32-bit implicit conversion warning in MSVC; NFC.
Modified:
llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.cpp?rev=223237&r1=223236&r2=223237&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.cpp Wed Dec 3 08:39:58 2014
@@ -470,7 +470,7 @@ void AMDGPUAsmPrinter::EmitAmdKernelCode
header.target_chip = STM.getAmdKernelCodeChipID();
- header.kernel_code_entry_byte_offset = (1 << MF.getAlignment());
+ header.kernel_code_entry_byte_offset = (1ULL << MF.getAlignment());
header.compute_pgm_resource_registers =
KernelInfo.ComputePGMRSrc1 |
More information about the llvm-commits
mailing list