[PATCH] D98915: [AMDGPU] Rename SIInsertSkips Pass

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 18 20:20:41 PDT 2021


critson created this revision.
critson added reviewers: foad, ruiling, arsenm.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, mgorny, nhaehnle, jvesely, kzhuravl.
critson requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Pass no longer handles skips.  Pass now removes unnecessary
unconditional branches and lowers early termination branches.
Hence rename to SILateBranchLowering.

Move code to handle returns to epilog from SIPreEmitPeephole
into SILateBranchLowering. This means SIPreEmitPeephole only
contains optional optimisations, and all required transforms
are in SILateBranchLowering.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98915

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.h
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/lib/Target/AMDGPU/CMakeLists.txt
  llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
  llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
  llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
  llvm/test/CodeGen/AMDGPU/early-term.mir
  llvm/test/CodeGen/AMDGPU/readlane_exec0.mir
  llvm/test/CodeGen/AMDGPU/shrink-carry.mir
  llvm/test/CodeGen/AMDGPU/syncscopes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98915.331749.patch
Type: text/x-patch
Size: 14274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210319/69f26ac9/attachment-0001.bin>


More information about the llvm-commits mailing list