aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2021-02-23 09:11:23 -0800
committerNick Desaulniers <ndesaulniers@google.com>2021-02-23 09:25:40 -0800
commit1e204ac78952cf7e4fcf335423e80007388d3979 (patch)
tree1f696abaa8bcb4397bb719bdd6a72a951a65884f /clang/lib/Lex/ModuleMap.cpp
parent956c90d347be82a93b16c685c25d016018ed99bf (diff)
downloadllvm-1e204ac78952cf7e4fcf335423e80007388d3979.zip
llvm-1e204ac78952cf7e4fcf335423e80007388d3979.tar.gz
llvm-1e204ac78952cf7e4fcf335423e80007388d3979.tar.bz2
[THUMB2] add .w suffixes for ldr/str (immediate) T4
The Linux kernel when built with CONFIG_THUMB2_KERNEL makes use of these instructions with immediate operands and wide encodings. These are the T4 variants of the follow sections from the Arm ARM. F5.1.72 LDR (immediate) F5.1.229 STR (immediate) I wasn't able to represent these simple aliases using t2InstAlias due to the Constraints on the non-suffixed existing instructions, which results in some manual parsing logic needing to be added. F1.2 Standard assembler syntax fields describes the use of the .w (wide) vs .n (narrow) encoding suffix. Link: https://bugs.llvm.org/show_bug.cgi?id=49118 Link: https://github.com/ClangBuiltLinux/linux/issues/1296 Reported-by: Stefan Agner <stefan@agner.ch> Reported-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D96632
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions