[PATCH] D63731: [AMDGPU] Prevent VGPR copies from moving across the EXEC mask definitions

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 05:58:26 PDT 2019


alex-t updated this revision to Diff 214124.
alex-t added a comment.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

According the reviewer's request the check for implicit defs has been added.
New helper functions in MachineInstr.h are necessary because the current interface like MachineInstr::getNumExplicitDefs returns just the MCInstDesc::NumDefs for non variadic opcodes.


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

https://reviews.llvm.org/D63731

Files:
  llvm/include/llvm/CodeGen/MachineInstr.h
  llvm/lib/CodeGen/PeepholeOptimizer.cpp
  llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63731.214124.patch
Type: text/x-patch
Size: 4175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190808/b2255685/attachment-0001.bin>


More information about the llvm-commits mailing list