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
This commit is contained in:
Reid Spencer
2007-03-24 21:55:26 +00:00
parent 7ac2f81e49
commit 5957d8ffd8
13 changed files with 19 additions and 9 deletions

View File

@@ -23,4 +23,5 @@
@u = constant i15 urem(i15 32767,i15 -1)
@o = constant i15 trunc( i16 32768 to i15 )
@p = constant i15 trunc( i16 32767 to i15 )
@v = constant i15 srem(i15 -1, i15 768)