aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2021-02-10 10:45:12 -0800
committerNick Desaulniers <ndesaulniers@google.com>2021-02-10 11:00:42 -0800
commit68945a8686708c6e4c74b9aeb231b8c4e1731181 (patch)
tree2a5c1700692ecfa0993bce82fb125b7c8294d6d4 /clang/lib/Frontend/TestModuleFileExtension.cpp
parent9680ea5c982e26212d7bb401532c8273cdeaa3e0 (diff)
downloadllvm-68945a8686708c6e4c74b9aeb231b8c4e1731181.zip
llvm-68945a8686708c6e4c74b9aeb231b8c4e1731181.tar.gz
llvm-68945a8686708c6e4c74b9aeb231b8c4e1731181.tar.bz2
[Thumb2] support `movs pc, lr` alias for `subs pc, lr, #0`/`eret`
This is used by the Linux kernel built with CONFIG_THUMB2_KERNEL. Because different operands are not permitted to `movs`, the diagnostics now provide multiple suggestions along the lines of using a non-pc destination operand or lr source operand. Forked from D95586. Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D96304
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions