Displaying 2 results from an estimated 2 matches for "r251132".
2015 Oct 23
3
[AMDGPU] AMDGPUAsmParser fails to parse several instructions
Dear Developers,
I compile a OpenCL kernel, FFT, in AMDAPP SDK v2.5 using clang 3.8 + libclc
and assembling the code with lld (The LLVM linker). The assembly code
contains the following assembly codes (and lots of other similar format
assembly) that fails to be parsed by AMDGPUAsmParser. It seems to me that
both are valid instructions after looking at the SI instruction spec.
s_mov_b32 s0,
2015 Oct 24
2
[AMDGPU] AMDGPUAsmParser fails to parse several instructions
...via llvm-dev <llvm-dev at lists.llvm.org>
> wrote:
>
> > The first line has the following error message:
> >
> > sop1-playground.s:1:15: error: invalid immediate: only 32-bit values are
> legal
> > s_mov_b32 s0, 0xfe5163ab
>
> I’ve fixed this problem in r251132.
>
Thanks 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 (anonymou...