Fix a severe compile time problem when forming large SCEV expressions.
authorAndrew Trick <atrick@apple.com>
Wed, 31 Jul 2013 02:43:40 +0000 (02:43 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 31 Jul 2013 02:43:40 +0000 (02:43 +0000)
commitc3bc8b8de64b8aa2a8d3d10c5f1a0d6a56f06010
treee96763d204994709ad8b22fabbac2f1a862324fa
parent080cad730a7c2ab4850e04be7d70537b518e3d15
Fix a severe compile time problem when forming large SCEV expressions.

This fix is very lightweight. The same fix already existed for AddRec
but was missing for NAry expressions.

This is obviously an improvement and I'm unsure how to test compile
time problems.

Patch by Xiaoyi Guo!

llvm-svn: 187475
llvm/lib/Analysis/ScalarEvolution.cpp