[PATCH] D146810: [CodeGen] Compile-time improvement for Machine Late Instructions Cleanup Pass.

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 07:02:57 PDT 2023


vpykhtin created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
vpykhtin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is the follow-up for https://github.com/llvm/llvm-project/issues/61397 -
Machine Late Instructions Cleanup Pass takes long time to process huge testcase.

I've made an attempt to improve patch sent by Jonas Paulsson at the github issue, Jonas can you
please try this on your testcases to see if it has any compile-time benefit. Basically it joins
RegDefs and RegKills into single map to reduce lookup time.

I'm submitting original patch from Jonas and then mine so they can be compared for convenience.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146810

Files:
  llvm/lib/CodeGen/MachineLateInstrsCleanup.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146810.508079.patch
Type: text/x-patch
Size: 4773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230324/5734f9f6/attachment.bin>


More information about the llvm-commits mailing list