SBCL does rudimentary loop analysis to aid register allocation and aligning loop heads -- but that's it.
In this case it's particularly sad as the (= 1 1) is optimized away -- so the loop is quite breathtaking:
; B0: L0: 4883C108 ADD RCX, 8 ; B4: L1: 483B0D25000000 CMP RCX, [RIP+37] ; BB: 7EF3 JLE L0
SBCL does rudimentary loop analysis to aid register allocation and aligning loop heads -- but that's it.
In this case it's particularly sad as the (= 1 1) is optimized away -- so the loop is quite breathtaking:
; B0: L0: 4883C108 ADD RCX, 8
; B4: L1: 483B0D25000000 CMP RCX, [RIP+37]
; BB: 7EF3 JLE L0