gtcasl/gpuocelot

LLVM backend: position of volatile modifier for load should be changed

jwang323 opened this issue · 2 comments

From wangjin....@gmail.com on January 27, 2012 15:10:27

What steps will reproduce the problem? 1.USE LLVM SVN version or version > 3.0
2.Compile SDK App MonteCarlo (nvcc version 4.0) and link against ocelot.
3.Run it on LLVM device backend What is the expected output? What do you see instead? Error Infomration: LLVM Parser failed: _Z27MonteCarloOneBlockPerOptionPfi: :631:10: error: expected instruction opcode
% r114 = volatile load float* %rt339, align 4; Please use labels and text to provide additional information. In LLVM 3.0, volatile modifier should be placed after load like " load volatile ... "

Original issue: http://code.google.com/p/gpuocelot/issues/detail?id=65

From wangjin....@gmail.com on February 01, 2012 15:45:37

Similar problem for App histogram, HSOpticalFlow, MonteCarlo, radixSorThrust, reduction, threadFenceReduction in SDK 4.1 with NVCC and Runtime 4.1

From arkerr@gmail.com on February 07, 2012 14:11:16

Modified LLVMInstruction to place 'volatile' keyword after instruction opcode name.

Status: Fixed