summaryrefslogtreecommitdiff
path: root/test/Integer/a17.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-24 21:55:26 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-24 21:55:26 +0000
commit5957d8ffd83836b534952921e9430216ecc14978 (patch)
tree7692648f6ca97ea09c7f2b07208b725d43bd1225 /test/Integer/a17.ll
parent7ac2f81e49442f76e3427227fb1e300ce60fceb4 (diff)
downloadllvm-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/a17.ll')
-rw-r--r--test/Integer/a17.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Integer/a17.ll b/test/Integer/a17.ll
index 8d7485e901..db03e7c6be 100644
--- a/test/Integer/a17.ll
+++ b/test/Integer/a17.ll
@@ -22,3 +22,4 @@
@t = constant i17 urem(i17 131071,i17 -1)
@o = constant i17 trunc( i18 131072 to i17 )
@p = constant i17 trunc( i18 131071 to i17 )
+@v = constant i17 srem(i17 -1, i17 15)