commit | f24ed77d2416b66178d8ff1d807858dfab37ca18 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Mon May 02 16:27:02 2011 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Mon May 02 16:27:02 2011 +0000 |
tree | 6d831345e74800af4d0f3b17b53923c807895239 | |
parent | 2866edf1204133b4627358d9d5ccd80a4b699cf1 [diff] |
Move some rem transforms out of instcombine and into instsimplify. This automagically provides a transform noticed by my super-optimizer as occurring quite often: "rem x, (select cond, x, 1)" -> 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130694 91177308-0d34-0410-b5e6-96231b3b80d8