mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Add a FIXME about signedness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32732 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eefef64e59
commit
d377350718
@ -2151,6 +2151,8 @@ SolveQuadraticEquation(const SCEVAddRecExpr *AddRec) {
|
||||
Constant *TwoA = ConstantExpr::getMul(A, Two);
|
||||
|
||||
// The divisions must be performed as signed divisions.
|
||||
// FIXME:Signedness. These casts can all go away once integer types are
|
||||
// signless.
|
||||
const Type *SignedTy = NegB->getType()->getSignedVersion();
|
||||
NegB = ConstantExpr::getBitCast(NegB, SignedTy);
|
||||
TwoA = ConstantExpr::getBitCast(TwoA, SignedTy);
|
||||
|
Loading…
Reference in New Issue
Block a user