[PATCH] D124364:  [Pipelines] Enable EarlyCSE after CoroCleanup to avoid runtime  performance losses (5/5)
    Chuanqi Xu via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Apr 25 00:43:03 PDT 2022
    
    
  
ChuanqiXu created this revision.
Herald added subscribers: ormris, wenlei, steven_wu, hiraditya.
Herald added a project: All.
ChuanqiXu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
After the previous patch landed, the compiler wouldn't optimize readnone function if we enabled coroutine. This is not good . This patch tries to fix the problem by enabling EarlyCSE pass after CoroSplit.  I think this is the price we couldn't avoid.
https://reviews.llvm.org/D124364
Files:
  llvm/lib/Passes/PassBuilderPipelines.cpp
  llvm/test/Other/new-pm-defaults.ll
  llvm/test/Other/new-pm-thinlto-defaults.ll
  llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
  llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
  llvm/test/Transforms/Coroutines/coro-readnone-04.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124364.424834.patch
Type: text/x-patch
Size: 5513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220425/3cf0f22b/attachment.bin>
    
    
More information about the llvm-commits
mailing list