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

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


xiangzhangllvm updated this revision to Diff 446014.
xiangzhangllvm added a comment.

Refine:
1 Add SetVector FreshBBs to trace the BBs need to be optimized.
2 Add enum ModifyDT {  NotModifyDT,  ModifyBBDT,  ModifyInstDT } to spilt out the iteration for instruction in single BB.
3 Modify some operations to re-optimized updated BBs

(All lit tests pass, my local big case still works well: 30mins --> 5 mins)


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.446014.patch
Type: text/x-patch
Size: 23661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220720/cadd5f3c/attachment.bin>


More information about the llvm-commits mailing list