[PATCH] D131587: [CodeGen] Deduplicate restore blocks in branch relaxation

Piggy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 00:55:53 PST 2023


piggynl updated this revision to Diff 493855.
piggynl marked 2 inline comments as done.
piggynl added a comment.
Herald added a subscriber: luke.

- Rebase

- Fix typo

- Simplify the loop for the comparison in `BasicBlockInfo::isRestoreBlockIdentical()`


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

https://reviews.llvm.org/D131587

Files:
  llvm/include/llvm/CodeGen/TargetInstrInfo.h
  llvm/lib/CodeGen/BranchRelaxation.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.h
  llvm/lib/Target/AVR/AVRInstrInfo.cpp
  llvm/lib/Target/AVR/AVRInstrInfo.h
  llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfo.h
  llvm/test/CodeGen/AMDGPU/branch-relax-spill-deduplication.ll
  llvm/test/CodeGen/RISCV/branch-relaxation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131587.493855.patch
Type: text/x-patch
Size: 24337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230201/379e2e8a/attachment.bin>


More information about the llvm-commits mailing list