mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Get the signs in the right place!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35307 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -568,7 +568,7 @@ public:
|
||||
if (RHS.isNegative())
|
||||
return -((-(*this)).urem(-RHS));
|
||||
else
|
||||
return -(-(*this)).urem(RHS);
|
||||
return -((-(*this)).urem(RHS));
|
||||
else if (RHS.isNegative())
|
||||
return this->urem(-RHS);
|
||||
return this->urem(RHS);
|
||||
|
Reference in New Issue
Block a user