diff options
| author | Erik Eckstein <eeckstein@apple.com> | 2014-12-03 10:39:15 +0000 |
|---|---|---|
| committer | Erik Eckstein <eeckstein@apple.com> | 2014-12-03 10:39:15 +0000 |
| commit | d181752be0cfe9b5813947c27c857a8ad5e30ba1 (patch) | |
| tree | 1d5899f37883f18151ddbb4a11ec9aa95ef96556 /llvm/lib/Transforms/Instrumentation | |
| parent | 25383ac01b493a7cf0aa79433c592583c2e44c63 (diff) | |
| download | bcm5719-llvm-d181752be0cfe9b5813947c27c857a8ad5e30ba1.tar.gz bcm5719-llvm-d181752be0cfe9b5813947c27c857a8ad5e30ba1.zip | |
InstCombine: simplify signed range checks
Try to convert two compares of a signed range check into a single unsigned compare.
Examples:
(icmp sge x, 0) & (icmp slt x, n) --> icmp ult x, n
(icmp slt x, 0) | (icmp sgt x, n) --> icmp ugt x, n
llvm-svn: 223224
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation')
0 files changed, 0 insertions, 0 deletions

