Changing the default MaxNumPromotions from 2 to 3.
authorDehao Chen <dehao@google.com>
Fri, 28 Jul 2017 01:03:10 +0000 (01:03 +0000)
committerDehao Chen <dehao@google.com>
Fri, 28 Jul 2017 01:03:10 +0000 (01:03 +0000)
commite70a472bad63666ce16a68947352806d07294015
treeccf1f09bbf5765dac6396cc807ec10ed87e37284
parentf4240b5b91b4b47d6f85dd20805dc08a0aae5f55
Changing the default MaxNumPromotions from 2 to 3.

Summary: In performance tuning, we see performance benefits when enlarge the maximum num promotion targets to 3. This is safe as soon as we have total percentage threshold properly setup (https://reviews.llvm.org/D35962)

Reviewers: davidxl, tejohnson

Reviewed By: tejohnson

Subscribers: llvm-commits, sanjoy

Differential Revision: https://reviews.llvm.org/D35966

llvm-svn: 309346
llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp