summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.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 /clang/lib/Frontend/CompilerInvocation.cpp
parent623efd8a75fef823c83ce5dc1a5666c9e667793c (diff)
downloadbcm5719-llvm-bfd7c38de785fcbd52adf4f93eff8ec346f8b1bc.tar.gz
bcm5719-llvm-bfd7c38de785fcbd52adf4f93eff8ec346f8b1bc.zip
[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 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud