commit | 8f844490938e53e21040413d48d9eea926a06dcc | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Wed May 14 03:03:05 2014 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Wed May 14 03:03:05 2014 +0000 |
tree | 489d142f910fd78ac4ab94a2ff92df45534a213e | |
parent | ee8af3e2a03495f3d846900fab56be324a0af167 [diff] |
Optimize integral reciprocal (udiv 1, x and sdiv 1, x) to not use division. This fires exactly once in a clang bootstrap, but covers a few different results from http://www.cs.utah.edu/~regehr/souper/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208750 91177308-0d34-0410-b5e6-96231b3b80d8