[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
Fri Nov 18 07:02:18 PST 2022


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

Name change for helper function, move call inside lambda body.  Copies are now created when src operand is being added to the new instruction (MIB) and inserted before it.


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.476458.patch
Type: text/x-patch
Size: 9015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221118/93bdf38f/attachment.bin>


More information about the llvm-commits mailing list