[PATCH] D65126: AMDGPU/GlobalISel: Don't assume instruction can be erased when selecting exts

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 17:34:17 PDT 2019


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.

The G_ANYEXT handling can end up reaching selectCOPY, which mutates
the instruction in place.


https://reviews.llvm.org/D65126

Files:
  lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  test/CodeGen/AMDGPU/GlobalISel/inst-select-anyext.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65126.211234.patch
Type: text/x-patch
Size: 5419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190723/a6af5815/attachment.bin>


More information about the llvm-commits mailing list