[PATCH] D147532: [MachineLateInstrsCleanup] Improve compile time for huge functions.

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 08:29:27 PDT 2023


jonpa updated this revision to Diff 513606.
jonpa added a comment.

Use SmallDenseMap instead.

Iteration change necessary due to this (at "// Clear any entries in map that MI clobbers."), so you might as well take another look...


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

https://reviews.llvm.org/D147532

Files:
  llvm/lib/CodeGen/MachineLateInstrsCleanup.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147532.513606.patch
Type: text/x-patch
Size: 6832 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230414/5bb65465/attachment.bin>


More information about the llvm-commits mailing list