[PATCH] D34908: [PPC CodeGen] Expand the bitreverse.i64 intrinsic.
    Hal Finkel via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jun 30 15:17:41 PDT 2017
    
    
  
hfinkel accepted this revision.
hfinkel added a comment.
This revision is now accepted and ready to land.
LGTM
Do we have anything in the test suite that will check this code for correctness and track performance? It would be good to add a small benchmark there, for bit reversal and for byte swap. I'd like this because, in part, if some change causes us to need to regenerate the match lines on this test, I doubt anyone would notice a subtle bug.
Also, in follow-up, I think it would be nice to move all of the TableGen code for this into its own .td file (which you can just include in the present file using an include directive).
https://reviews.llvm.org/D34908
    
    
More information about the llvm-commits
mailing list