[PATCH] D59534: Enable tail call in MemCpyOptimization
    Hideto Ueno via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Mar 20 00:21:52 PDT 2019
    
    
  
uenoku added a comment.
I'm sorry, I misunderstood "tail".
I have two ideas to enable tail call.
1. Add TailCallElimPass after MemCpyOptPass.
2. In the end of MemCpyOptPass, use lib/Transforms/Scalar/TailRecursionElimination.cpp/markTails.
I think 1 is simpler and better.
Is there any problem?
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59534/new/
https://reviews.llvm.org/D59534
    
    
More information about the llvm-commits
mailing list