[PATCH] D129352: [CodeGen] Limit building time for CodeGenPrepare

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 19:10:25 PDT 2022


xiangzhangllvm updated this revision to Diff 447907.
xiangzhangllvm edited the summary of this revision.
xiangzhangllvm added a comment.
Herald added a subscriber: kristof.beyls.

The order of inserting updated BB may be ataxic, and hurt performance.
So this patch is to let the BB iteration in order.
(In my local testing, it still works well in reducing time building for big/huge test cases.)


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

https://reviews.llvm.org/D129352

Files:
  llvm/lib/CodeGen/CodeGenPrepare.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129352.447907.patch
Type: text/x-patch
Size: 24156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220727/1b302c51/attachment-0001.bin>


More information about the llvm-commits mailing list