[PATCH] D131959: [AMDGPU] Fix SDST operand of V_DIV_SCALE to always be VCC

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 12:39:43 PDT 2022


rampitec added a comment.

In D131959#3742034 <https://reviews.llvm.org/D131959#3742034>, @Pierre-vh wrote:

> Adding `isAsmParserOnly` solves it, but now it's InstrInfo that fails:
>
>   [build] error: Multiple matches found for `V_DIV_SCALE_F32_e64', for the relation `getMCOpcodeGen', row fields ["v_div_scale_f32_e64"], column `["0"]'
>   [build] CurInstr: V_DIV_SCALE_F32_w64_gfx6_gfx7
>   [build] MatchInstr: V_DIV_SCALE_F32_w32_gfx6_gfx7
>
> I'm going to update the diff with my latest (non-working) draft. It's a bit messy so I'll look into cleaning it up further.

You should only define w32/w64 for subtargets which have it (i.e. gfx10+).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131959/new/

https://reviews.llvm.org/D131959



More information about the llvm-commits mailing list