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 | 2275be08f6b263b0fd20e0e37109f371ad4974fd (patch) | |
tree | fa65f83dbdff0f7079cc1fe1f45241fbcb59e784 /include/llvm/CodeGen | |
parent | feab1a8e51cbc9733543ffea47af7ea7380ad7b3 (diff) | |
download | external_llvm-2275be08f6b263b0fd20e0e37109f371ad4974fd.tar.gz external_llvm-2275be08f6b263b0fd20e0e37109f371ad4974fd.tar.bz2 external_llvm-2275be08f6b263b0fd20e0e37109f371ad4974fd.zip |
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 'include/llvm/CodeGen')
0 files changed, 0 insertions, 0 deletions