diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-13 23:12:35 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-13 23:12:35 +0000 |
commit | a60832b0187642d01fd726dc766cd62587f6add0 (patch) | |
tree | fa65f83dbdff0f7079cc1fe1f45241fbcb59e784 /lib/Transforms/Scalar/LoopIndexSplit.cpp | |
parent | 289983123ba4170c8a27e9638935818f8142bc89 (diff) |
Fix a bogus srem rule - a negative value srem'd by a power-of-2
can have a non-negative result; for example, -16%16 is 0. Also,
clarify the related comments. This fixes PR2670.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopIndexSplit.cpp')
0 files changed, 0 insertions, 0 deletions