[all-commits] [llvm/llvm-project] 9bceb8: [X86] (0 - SetCC) | C -> (zext (not SetCC)) * (C +...
deadalnix via All-commits
all-commits at lists.llvm.org
Wed Aug 10 08:12:14 PDT 2022
Author: Amaury Séchet <deadalnix at gmail.com>
Date: 2022-08-10 (Wed, 10 Aug 2022)
[X86] (0 - SetCC) | C -> (zext (not SetCC)) * (C + 1) - 1 if we can get a LEA out of it.
This adresses various regression in D131260 , as well as is a useful optimization in itself.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D131358
More information about the All-commits