[llvm-commits] [llvm] r164173 - in /llvm/trunk: include/llvm/Transforms/Utils/IntegerDivision.h lib/Transforms/Utils/CMakeLists.txt lib/Transforms/Utils/IntegerDivision.cpp

Evan Cheng evan.cheng at apple.com
Tue Sep 18 20:27:30 PDT 2012


On Sep 18, 2012, at 6:48 PM, Eli Friedman <eli.friedman at gmail.com> wrote:

> On Tue, Sep 18, 2012 at 5:42 PM, Evan Cheng <evan.cheng at apple.com> wrote:
>>> There are a lot of missed optimization opportunities here, e.g.
>>> dividing by a constant; have you considered anything in this area?
>> 
>> Instcombine etc. should have optimized a lot of cases. This is intended to expand the cases that survived optimization.
> 
> Instcombine won't touch, e.g. x/3, and there are substantially faster
> ways to perform that operation.

Are those cases generic or target specific?

Evan

> 
> -Eli




More information about the llvm-commits mailing list