commit | e949aa1c91132094a9073c82a8aef729fa8c9eca | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Fri Dec 28 14:23:29 2012 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Fri Dec 28 14:23:29 2012 +0000 |
tree | a94456b93a2b3d12296e4564cffa817508acdd5a | |
parent | c98bd9f1a79adffe73acd337b6f7f9afa6bae078 [diff] |
Teach instsimplify to use the constant folder where appropriate for constant folding calls. Add the initial tests for this which show that now instsimplify can simplify blindingly obvious code patterns expressed with both intrinsics and library calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171194 91177308-0d34-0410-b5e6-96231b3b80d8