diff options
| author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-09-26 21:54:27 +0000 |
|---|---|---|
| committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-09-26 21:54:27 +0000 |
| commit | eda7a86d42ff6f62b93fd1c4d963385d436dfc08 (patch) | |
| tree | 62119b2758c1694e3d7ba655f27933f5473d9e96 /llvm/test/Transforms/LoopUnroll/2005-03-06-BadLoopInfoUpdate.ll | |
| parent | bbfa246ad3c7c7bc7cf3184e64fbcc4fb483fe54 (diff) | |
| download | bcm5719-llvm-eda7a86d42ff6f62b93fd1c4d963385d436dfc08.tar.gz bcm5719-llvm-eda7a86d42ff6f62b93fd1c4d963385d436dfc08.zip | |
[BypassSlowDivision] Improve our handling of divisions by constants
Summary:
Don't bail out on constant divisors for divisions that can be narrowed without
introducing control flow . This gives us a 32 bit multiply instead of an
emulated 64 bit multiply in the generated PTX assembly.
Reviewers: jlebar
Subscribers: jholewinski, mcrosier, llvm-commits
Differential Revision: https://reviews.llvm.org/D38265
llvm-svn: 314253
Diffstat (limited to 'llvm/test/Transforms/LoopUnroll/2005-03-06-BadLoopInfoUpdate.ll')
0 files changed, 0 insertions, 0 deletions

