diff --git a/ARMeilleure/CodeGen/RegisterAllocators/LiveInterval.cs b/ARMeilleure/CodeGen/RegisterAllocators/LiveInterval.cs index 6e786061a..309c5ba30 100644 --- a/ARMeilleure/CodeGen/RegisterAllocators/LiveInterval.cs +++ b/ARMeilleure/CodeGen/RegisterAllocators/LiveInterval.cs @@ -287,7 +287,7 @@ namespace ARMeilleure.CodeGen.RegisterAllocators { LiveRange range = _ranges[splitIndex]; - if (position > range.Start && position <= range.End) + if (position > range.Start && position < range.End) { right._ranges.Add(new LiveRange(position, range.End));