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 | 6134fbccefd5c4e8ca0f592d0487ea213b864c0d (patch) | |
| tree | d274026bb4c028fda1865d7850a8696ddde13c31 /clang/test/CodeGen/c-strings.c | |
| parent | 706f6b7899f9f7efad8b405bb34a116bb8b3c8f0 (diff) | |
| download | bcm5719-llvm-6134fbccefd5c4e8ca0f592d0487ea213b864c0d.tar.gz bcm5719-llvm-6134fbccefd5c4e8ca0f592d0487ea213b864c0d.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.
llvm-svn: 54767
Diffstat (limited to 'clang/test/CodeGen/c-strings.c')
0 files changed, 0 insertions, 0 deletions

