| commit | 6b657aed3365d6bf77b0eda4020eeea5661535e7 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Thu Feb 10 05:36:31 2011 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Thu Feb 10 05:36:31 2011 +0000 |
| tree | 0378c26d05547d7121fbc43a635ac9919bd3079f | |
| parent | 98457101fc21f519134d877259a17bf36894bdfe [diff] |
Enhance a bunch of transformations in instcombine to start generating exact/nsw/nuw shifts and have instcombine infer them when it can prove that the relevant properties are true for a given shift without them. Also, a variety of refactoring to use the new patternmatch logic thrown in for good luck. I believe that this takes care of a bunch of related code quality issues attached to PR8862. llvm-svn: 125267