[PATCH] D125335: Pass lamba to MachineCopyProp to determine which MI is treated as Copy instruction.

Xin Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 10 13:32:20 PDT 2022


adriantong1024 created this revision.
adriantong1024 added a reviewer: dmgreen.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
adriantong1024 updated this revision to Diff 428478.
adriantong1024 added a comment.
adriantong1024 edited the summary of this revision.
adriantong1024 updated this revision to Diff 428480.
adriantong1024 edited the summary of this revision.
adriantong1024 updated this revision to Diff 428486.
adriantong1024 published this revision for review.
Herald added a project: LLVM.

Pass lamba to MachineCopyProp to determine which MI is treated as Copy instruction.


adriantong1024 added a comment.

Pass lamba to MachineCopyProp to determine which MI is treated as Copy instruction.


adriantong1024 added a comment.

Update a test case.


This is then used in AArch64 to remove copy instructions after taildup
ran in machine block placement


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125335

Files:
  llvm/include/llvm/CodeGen/Passes.h
  llvm/lib/CodeGen/MachineCopyPropagation.cpp
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/test/CodeGen/AArch64/O3-pipeline.ll
  llvm/test/CodeGen/AArch64/copyprop.mir
  llvm/test/CodeGen/Thumb2/bti-indirect-branches.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125335.428486.patch
Type: text/x-patch
Size: 27327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220510/e7987a5b/attachment.bin>


More information about the llvm-commits mailing list