diff options
| author | Dan Gohman <gohman@apple.com> | 2009-06-18 20:21:07 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-06-18 20:21:07 +0000 |
| commit | 4d3c3cfffd8aa8ffc978909f4bcd0e068315d3ca (patch) | |
| tree | e499c8fde00b0fc21579a519e705c6b762959b0c /llvm/lib/Transforms | |
| parent | 830ff50abf79bb44feb008fcc51c7be92c70e9c4 (diff) | |
| download | bcm5719-llvm-4d3c3cfffd8aa8ffc978909f4bcd0e068315d3ca.tar.gz bcm5719-llvm-4d3c3cfffd8aa8ffc978909f4bcd0e068315d3ca.zip | |
Recognize n != 0 ? n : 1 as umax(n, 1). Previously only ULT/UGT/ULE/UGE
comparisons were recognized for umax, but instcombine canonicalizes
unsigned comparisons with zero to this simpler form.
llvm-svn: 73717
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

