// User before the Trial.
if (TrialOffset - UserOffset <= MaxDisp)
return true;
- if (IsSoImm && ARM_AM::getSOImmVal(TrialOffset - UserOffset) != -1)
- return true;
+ // FIXME: Make use full range of soimm values.
} else if (NegativeOK) {
if (UserOffset - TrialOffset <= MaxDisp)
return true;
- if (IsSoImm && ARM_AM::getSOImmVal(~(TrialOffset - UserOffset)) != -1)
- return true;
+ // FIXME: Make use full range of soimm values.
}
return false;
}
//===---------------------------------------------------------------------===//
We need to fix constant isel for ARMv6t2 to use MOVT.
+
+//===---------------------------------------------------------------------===//
+
+Constant island pass should make use of full range SoImm values for LEApcrel.
+Be careful though as the last attempt caused infinite looping on lencod.