Displaying 4 results from an estimated 4 matches for "gfx906".
Did you mean:
gfx0
2020 Apr 15
3
Backend emitting to string instead of file
...v[0]) << "with flush, output size: " <<
outStr.length() << "\n";
But this always yields "with flush, output size: 0"
I tried to flush the raw_string_ostream before using the string, same
result.
The used command line was
llc -march=amdgcn -mcpu=gfx906 < module.ll
Anyone see what's wrong with the code?
Frank
2019 Sep 09
2
LiveInterval error with 2 dead defs
...%0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
dead %0:vgpr_32 = V_MOV_B32_e32 1, implicit $exec
...
The live intervals look OK to me with 1 valno per instruction, for the life of the instruction like I would expect. The verifier does not like it however:
$ llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx906 -verify-machineinstrs -run-pass=machine-scheduler -o - -verify-misched foo.mir
# Before machine scheduling.
********** INTERVALS **********
%0 [16r,16d:1)[32r,32d:0) 0 at 32r 1 at 16r weight:0.000000e+00
RegMasks:
********** MACHINEINSTRS **********
# Machine code for function multiple_connected_...
2020 Apr 13
3
Are AMDGPU intrinsics available in LLVM IR ?
Hi!
I'm trying to figure out how to access the workgroup id from within
the LLVM IR language when lowering with the AMDGPU backend.
Looking at the 'llvm/include/llvm/IR/IntrinsicsAMDGPU.td' file there
are intrinsics defined to access the workitem index (thread index),
but this file lives in 'llvm/include':
2019 Oct 07
2
LiveInterval error with 2 dead defs
...%0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
dead %0:vgpr_32 = V_MOV_B32_e32 1, implicit $exec
...
The live intervals look OK to me with 1 valno per instruction, for the life of the instruction like I would expect. The verifier does not like it however:
$ llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx906 -verify-machineinstrs -run-pass=machine-scheduler -o - -verify-misched foo.mir
# Before machine scheduling.
********** INTERVALS **********
%0 [16r,16d:1)[32r,32d:0) 0 at 32r 1 at 16r weight:0.000000e+00
RegMasks:
********** MACHINEINSTRS **********
# Machine code for function multiple_connected_...