diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-24 21:55:26 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-24 21:55:26 +0000 |
commit | 5957d8ffd83836b534952921e9430216ecc14978 (patch) | |
tree | 7692648f6ca97ea09c7f2b07208b725d43bd1225 /test/Integer/a33.ll.out | |
parent | 7ac2f81e49442f76e3427227fb1e300ce60fceb4 (diff) | |
download | llvm-5957d8ffd83836b534952921e9430216ecc14978.tar.gz llvm-5957d8ffd83836b534952921e9430216ecc14978.tar.bz2 llvm-5957d8ffd83836b534952921e9430216ecc14978.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer/a33.ll.out')
-rw-r--r-- | test/Integer/a33.ll.out | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Integer/a33.ll.out b/test/Integer/a33.ll.out index a5708acac2..ec25d52143 100644 --- a/test/Integer/a33.ll.out +++ b/test/Integer/a33.ll.out @@ -12,9 +12,10 @@ @n = constant i33 -2 ; <i33*> [#uses=0] @q = constant i33 0 ; <i33*> [#uses=0] @r = constant i33 2 ; <i33*> [#uses=0] -@s = constant i33 1 ; <i33*> [#uses=0] +@s = constant i33 -1 ; <i33*> [#uses=0] @t = constant i33 0 ; <i33*> [#uses=0] @o = constant i33 0 ; <i33*> [#uses=0] @p = constant i33 -1 ; <i33*> [#uses=0] +@u = constant i33 1 ; <i33*> [#uses=0] implementation ; Functions: |