Before the patch LLVM include shifts on a register when recognize CTLZ loops.
The patch makes it only shift on a constant 1.
Since this is clear misprint I don't add any new lit test.
Differential D39585
PR35131 Fix a misprint in CTLZ recognition evstupac on Nov 2 2017, 6:09 PM. Authored by
Details Before the patch LLVM include shifts on a register when recognize CTLZ loops. Since this is clear misprint I don't add any new lit test.
Diff Detail
|