[llvm-commits] [llvm] r71688 - /llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp

Eli Friedman eli.friedman at gmail.com
Wed May 13 13:15:21 PDT 2009


On Wed, May 13, 2009 at 12:03 PM, Dale Johannesen <dalej at apple.com> wrote:
> The previous test
>
>>>        if (!isa<AllocaInst>(I->getOperand(0)) &&
>>>            !isa<Constant>(I->getOperand(0)))
>>>          return false;
>
> will reject GEP's won't it?

It will reject GEP instructions, but not GEP constant expressions.

-Eli




More information about the llvm-commits mailing list