Displaying 2 results from an estimated 2 matches for "amdgpuoperand".
2015 Oct 23
3
[AMDGPU] AMDGPUAsmParser fails to parse several instructions
...5: error: invalid immediate: only 32-bit values are
legal
s_mov_b32 s0, 0xfe5163ab
^
sop1-playground.s:1:25: error: failed parsing operand.
s_mov_b32 s0, 0xfe5163ab
^
The part of stack dump:
...
#9 0x4711ee (anonymous namespace)::AMDGPUOperand::setModifiers(unsigned
int)
/mnt/dm-0/codebase/Compilers/LLVM/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp:185:21
#10 0x46ff6a (anonymous
namespace)::AMDGPUAsmParser::parseOperand(llvm::SmallVectorImpl<std::unique_ptr<llvm::MCParsedAsmOperand,
std::default_delete<llvm::MCParsedAsmO...
2015 Oct 24
2
[AMDGPU] AMDGPUAsmParser fails to parse several instructions
...s for the reply and the quick fix of negative 32-bit immediate.
> >
> > The second line of the assembly has the assertion fail:
> >
> > llvm-mc:
> /mnt/dm-0/codebase/Compilers/LLVM/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp:184:
> void (anonymous namespace)::AMDGPUOperand::setModifiers(unsigned int):
> Assertion `isReg()' failed.
> >
> > and reports that 0.5 is "error: invalid operand for instruction"
> >
> > v_mad_f32 v9, 0.5, v5, -v8
>
> There is a bug with operand parsing when you have immediate operands and
> sou...