[PATCH] D100117: [AMDGPU] SIFoldOperands: eagerly delete dead copies

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 8 09:41:07 PDT 2021


foad updated this revision to Diff 336152.
foad added a comment.

Use eraseFromParentAndMarkDBGValuesForRemoval.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100117

Files:
  llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
  llvm/test/CodeGen/AMDGPU/flat-scratch-fold-fi.mir
  llvm/test/CodeGen/AMDGPU/fold-cndmask-wave32.mir
  llvm/test/CodeGen/AMDGPU/fold-cndmask.mir
  llvm/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir
  llvm/test/CodeGen/AMDGPU/fold-operands-order.mir
  llvm/test/CodeGen/AMDGPU/fold-readlane.mir
  llvm/test/CodeGen/AMDGPU/huge-number-operand-folds.mir
  llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
  llvm/test/CodeGen/AMDGPU/udiv64.ll
  llvm/test/CodeGen/AMDGPU/urem64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100117.336152.patch
Type: text/x-patch
Size: 10366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210408/c9c820c1/attachment.bin>


More information about the llvm-commits mailing list