diff options
| author | Hongbin Zheng <etherzhhb@gmail.com> | 2017-03-30 21:56:56 +0000 |
|---|---|---|
| committer | Hongbin Zheng <etherzhhb@gmail.com> | 2017-03-30 21:56:56 +0000 |
| commit | bfd7c38de785fcbd52adf4f93eff8ec346f8b1bc (patch) | |
| tree | 9d0bcf9382c063a942dbc82aa55e4582353cc507 /llvm/lib/Analysis/MemoryLocation.cpp | |
| parent | 623efd8a75fef823c83ce5dc1a5666c9e667793c (diff) | |
| download | bcm5719-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 'llvm/lib/Analysis/MemoryLocation.cpp')
0 files changed, 0 insertions, 0 deletions

