commit | 6d951ca478be8948fd0cf135accbc948f564c15a | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <pcc@google.com> | Tue Jan 19 12:32:27 2021 -0800 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Wed Jan 20 13:56:12 2021 +0000 |
tree | 669bdfb25237c6dd8d2a3060ff5404da1205ccf4 | |
parent | e3c1ede68006c8c695ff5b7f6383d6aaef49f932 [diff] |
Use correct modifiers on LDR instructions. UXTW is not a valid modifier for LDR on 32-bit ARM. Compilers built without assertions incorrectly accept the modifier, while compilers built with assertions crash (see llvm.org/pr48805). The intent appears to be to use the LSL modifier (and that is how the instruction is assembled with the no-assertions compiler) so change the code to use it. Change-Id: Icc0ec955486fe5c78e88604e9d8e3b3a9b4f7b62