diff options
author | James Molloy <james.molloy@arm.com> | 2016-06-14 13:33:07 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2016-06-14 13:33:07 +0000 |
commit | 65b6be1d3aaf404075050a7f2a27682e2434737f (patch) | |
tree | 7e57849e34149d543a1ac0d47aa16091515a6b19 /clang/unittests/Format/CleanupTest.cpp | |
parent | 377975f2f7c9a180fed8352ff8e7bf43cdf278b6 (diff) | |
download | bcm5719-llvm-65b6be1d3aaf404075050a7f2a27682e2434737f.tar.gz bcm5719-llvm-65b6be1d3aaf404075050a7f2a27682e2434737f.zip |
[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!
llvm-svn: 272665
Diffstat (limited to 'clang/unittests/Format/CleanupTest.cpp')
0 files changed, 0 insertions, 0 deletions