Match (xor TSize - 1, ctlz) to `bsr` instead of `lzcnt` + `xor`
Was previously de-optimizating if -march supported lzcnt as there is no reason to add the extra instruction. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D141464
Loading
Please sign in to comment