[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp ScalarEvolutionExpander.cpp

Chris Lattner clattner at apple.com
Fri Jun 15 13:53:51 PDT 2007


On Jun 15, 2007, at 7:38 AM, Dan Gohman wrote:

> +    case Instruction::SExt:
> +      return SCEVSignExtendExpr::get(getSCEV(I->getOperand(0)), I- 
> >getType());
> +

Nifty.  Have you done any performance analysis of this?  What cases  
is it beneficial for?  If this helps LSR, for example, can you please  
add a testcase to verify this doesn't break in the future?

Thanks Dan, great stuff,

-Chris



More information about the llvm-commits mailing list