commit | 3ec01b7dac769449723a25d8f7d33b49c917ccc9 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Thu Apr 14 22:41:27 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Thu Apr 14 22:41:27 2011 +0000 |
tree | a4a10203cb5dbc49036e542f5e40b9d73c56d46d | |
parent | f6832bbda08b6975caa264de183bf3ee1d472aca [diff] |
Add an instcombine for constructs like a | -(b != c); a select is more canonical, and generally leads to better code. Found while looking at an article about saturating arithmetic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129545 91177308-0d34-0410-b5e6-96231b3b80d8