[PATCH] D48789: [X86] Replace (32/64 - n) shift amounts with (neg n) since the shift amount is masked in hardware

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 8 10:28:55 PDT 2018


RKSimon added a comment.

I don't suppose we have any chance of SimplifyDemandedBits being able to do some/all of this for us?


https://reviews.llvm.org/D48789





More information about the llvm-commits mailing list