summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-22 17:46:21 +0000
committerChris Lattner <sabre@nondot.org>2008-06-22 17:46:21 +0000
commit6ff85681e4a325037e209de9fc9d599436d86ab1 (patch)
treee4163ed1f77205459387fb7667b577b1d4c59cc8 /llvm/lib/Analysis/ScalarEvolutionExpander.cpp
parent5fb92e58de2c1ef416acfca04e683b4c6fbb794e (diff)
downloadbcm5719-llvm-6ff85681e4a325037e209de9fc9d599436d86ab1.tar.gz
bcm5719-llvm-6ff85681e4a325037e209de9fc9d599436d86ab1.zip
Fix PR2369 by making scalarrepl more careful about promoting
structures. Its default threshold is to promote things that are smaller than 128 bytes, which is sane. However, it is not sane to do this for things that turn into 128 *registers*. Add a cap on the number of registers introduced, defaulting to 128/4=32. llvm-svn: 52611
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud