commit | 201c9776bd4197569b71fef0519f98a28d1db989 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sun Nov 30 06:02:26 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sun Nov 30 06:02:26 2008 +0000 |
tree | f23152f3c338d59a79a7407bf5a96c8eb366d2da | |
parent | 3f93df5733dce50961303d571cf16e032b0809bf [diff] |
Fix for PR2164: allow transforming arbitrary-width unsigned divides into multiplies. Some more cleverness would be nice, though. It would be nice if we could do this transformation on illegal types. Also, we would prefer a narrower constant when possible so that we can use a narrower multiply, which can be cheaper. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60283 91177308-0d34-0410-b5e6-96231b3b80d8