Hi Duncan,
On Sat, 2007-03-24 at 23:10 +0100, Duncan Sands wrote:
> > Fix incorrect test cases for srem. The definition of srem is a remainder so
> > that the sign of the result follows the sign of the divisor.
>
> In "A rem B", I hope you mean A when you talk of the divisor!
> Because
> A rem
> Fix incorrect test cases for srem. The definition of srem is a remainder so
> that the sign of the result follows the sign of the divisor.
In "A rem B", I hope you mean A when you talk of the divisor! Because
A rem B has the sign of A (unless B exactly divides A, in which case the
sign is zero)
Changes in directory llvm/test/Integer:
a1.ll updated: 1.6 -> 1.7
a1.ll.out updated: 1.5 -> 1.6
a15.ll updated: 1.5 -> 1.6
a15.ll.out updated: 1.5 -> 1.6
a17.ll updated: 1.5 -> 1.6
a17.ll.out updated: 1.5 -> 1.6
a31.ll updated: 1.5 -> 1.6
a31.ll.out updated: 1.5 -> 1.6
a33.ll updated: 1.5 -> 1.6
Changes in directory llvm/test/Integer:
a1.ll updated: 1.5 -> 1.6
a1.ll.out updated: 1.4 -> 1.5
---
Log message:
Update for constant folding now generating undef and overflow correctly.
---
Diffs of the changes: (+8 -8)
a1.ll |6 +++---
a1.ll.out | 10 +-
2 files changed,
Changes in directory llvm/test/Integer:
a1.ll updated: 1.4 -> 1.5
a1.ll.out updated: 1.3 -> 1.4
a15.ll updated: 1.4 -> 1.5
a15.ll.out updated: 1.3 -> 1.4
a17.ll updated: 1.4 -> 1.5
a17.ll.out updated: 1.3 -> 1.4
a31.ll updated: 1.4 -> 1.5
a31.ll.out updated: 1.3 -> 1.4
a33.ll updated: 1.4 -> 1.5
Changes in directory llvm/test/Integer:
a1.ll updated: 1.1 -> 1.2
a1.ll.out updated: 1.1 -> 1.2
a15.ll updated: 1.1 -> 1.2
a15.ll.out updated: 1.1 -> 1.2
a17.ll updated: 1.1 -> 1.2
a17.ll.out updated: 1.1 -> 1.2
a31.ll updated: 1.1 -> 1.2
a31.ll.out updated: 1.1 -> 1.2
a33.ll updated: 1.1 -> 1.2
Changes in directory llvm/test/Integer:
a1.ll added (r1.1)
a1.ll.out added (r1.1)
---
Log message:
Add one test case for Arbitrary BitWidth Integers.
---
Diffs of the changes: (+36 -0)
a1.ll | 20
a1.ll.out | 16
2 files changed, 36 insertions(