[PATCH] D127253: [AMDGPU] Use v_mad_u64_u32 for IMAD32

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 15:00:52 PDT 2022


rampitec updated this revision to Diff 435349.
rampitec added a comment.

Newly added pattern with imm:$src2 causes assert in global isel exporter with debug tablegen:

  assert(WaitingForNamedOperands == 0 &&
         "previous predicate didn't find all operands or "
         "nested predicate that uses operands");

Disable global isel for this rule, it does not work anyway because of the 2 result instruction unsupported by gisel.


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

https://reviews.llvm.org/D127253

Files:
  llvm/lib/Target/AMDGPU/VOP3Instructions.td
  llvm/test/CodeGen/AMDGPU/atomic_optimizations_buffer.ll
  llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
  llvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
  llvm/test/CodeGen/AMDGPU/atomic_optimizations_raw_buffer.ll
  llvm/test/CodeGen/AMDGPU/atomic_optimizations_struct_buffer.ll
  llvm/test/CodeGen/AMDGPU/mad_64_32.ll
  llvm/test/CodeGen/AMDGPU/mad_u64_u32.ll
  llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll
  llvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll
  llvm/test/CodeGen/AMDGPU/udiv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127253.435349.patch
Type: text/x-patch
Size: 36904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220608/8853dabd/attachment.bin>


More information about the llvm-commits mailing list