[PATCH] D113291: [AggressiveInstCombine] Lower Table Based CTTZ
    Eli Friedman via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jun 22 13:34:49 PDT 2022
    
    
  
efriedma added a comment.
I don't think I have much further to say.  Emitting a table lookup from TargetLowering::expandCTTZ should be straightforward, I think.  See DAGCombiner::convertSelectOfFPConstantsToLoadOffset for an example of how to emit a constant table.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113291/new/
https://reviews.llvm.org/D113291
    
    
More information about the llvm-commits
mailing list