diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-03-04 07:00:57 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-03-04 07:00:57 +0000 |
commit | 3cec6f55638064cf86ae60c568eebf234f7d8ca8 (patch) | |
tree | 4bc8a9f61364e9dae2285471bf86d8a29f55495d /clang/lib/CodeGen | |
parent | 5aa4c68eca387ed265b3f54e22245b4ef2ba181a (diff) | |
download | bcm5719-llvm-3cec6f55638064cf86ae60c568eebf234f7d8ca8.tar.gz bcm5719-llvm-3cec6f55638064cf86ae60c568eebf234f7d8ca8.zip |
Teach instruction simplify to use constant ranges to solve problems of the form
"icmp pred %X, CI" and a number of examples where "%X = binop %Y, CI2".
Some of these cases (div and rem) used to make it through opt -O2, but the
others are probably now making code elsewhere redundant (probably instcombine).
llvm-svn: 126988
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions