HomePhabricator

[Thumb] Fix off-by-one error in r272007

Description

[Thumb] Fix off-by-one error in r272007

We can only generate immediates up to #510 with a MOV+ADD, not #511, because there's no such instruction as add #256.

Found by Oliver Stannard and csmith!

Details

Committed
jamesmJun 14 2016, 6:33 AM
Parents
rL272664: AMDGPU: mark {exp,log}10{,f,l} library functions as unavailable
Branches
Unknown
Tags
Unknown