diff options
author | Zhiyao Ma <zhiyao.ma.98@gmail.com> | 2022-03-10 15:13:41 -0800 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2022-03-10 15:15:24 -0800 |
commit | adc26b4eaedc50f1b99d5af5c7e248966fced660 (patch) | |
tree | 17d39a6f33112011e8ea3e5e760bb3419a8a6efc /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 26cd258420c774254cc48330b1f4d23d353baf05 (diff) | |
download | llvm-adc26b4eaedc50f1b99d5af5c7e248966fced660.zip llvm-adc26b4eaedc50f1b99d5af5c7e248966fced660.tar.gz llvm-adc26b4eaedc50f1b99d5af5c7e248966fced660.tar.bz2 |
[ARM] Fix 8-bit immediate overflow in the instruction of segmented stack prologue.
It fixes the overflow of 8-bit immediate field in the emitted
instruction that allocates large stacklet.
For thumb2 targets, load large immediate by a pair of movw and movt
instruction. For thumb1 and ARM targets, load large immediate by reading
from literal pool.
Differential Revision: https://reviews.llvm.org/D118545
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions