[PATCH] D138044: AMDGPU/GlobalISel: Fix crash after mad/fma_mix fails selection

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 06:42:50 PST 2022


Petar.Avramovic updated this revision to Diff 475815.
Petar.Avramovic added a comment.

This should be equivalent to trunk llvm but without creating copy instruction when fma_mix does not get selected.


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

https://reviews.llvm.org/D138044

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-mul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138044.475815.patch
Type: text/x-patch
Size: 6033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221116/2cc143ca/attachment.bin>


More information about the llvm-commits mailing list