aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorHongbin Zheng <etherzhhb@gmail.com>2017-03-30 21:56:56 +0000
committerHongbin Zheng <etherzhhb@gmail.com>2017-03-30 21:56:56 +0000
commitbfd7c38de785fcbd52adf4f93eff8ec346f8b1bc (patch)
tree9d0bcf9382c063a942dbc82aa55e4582353cc507 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent623efd8a75fef823c83ce5dc1a5666c9e667793c (diff)
downloadllvm-bfd7c38de785fcbd52adf4f93eff8ec346f8b1bc.zip
llvm-bfd7c38de785fcbd52adf4f93eff8ec346f8b1bc.tar.gz
llvm-bfd7c38de785fcbd52adf4f93eff8ec346f8b1bc.tar.bz2
[SimplifyIndvar] Replace the sdiv used by IV if we can prove both of its operands are non-negative
Since there is no sdiv in SCEV, an 'udiv' is a better canonical form than an 'sdiv' as the user of induction variable Differential Revision: https://reviews.llvm.org/D31488 llvm-svn: 299118
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions