Go to file
Oleg Ranevskyy 85d93a8778 [ARM] Fix sema check of ARM special register names
Summary:
This is a simple sema check patch for arguments of `__builtin_arm_rsr` and the related builtins, which currently do not allow special registers with indexes >7.

Some of the possible register name formats these builtins accept are:
```
{c}p<coprocessor>:<op1>:c<CRn>:c<CRm>:<op2>
```
```
o0:op1:CRn:CRm:op2
```
where `op1` / `op2` are integers in the range [0, 7] and `CRn` / `CRm` are integers in the range [0, 15].

The current sema check does not allow `CRn` > 7 and accepts `op2` up to 15.

Reviewers: LukeCheeseman, rengolin

Subscribers: asl, aemerson, rengolin, cfe-commits

Differential Revision: https://reviews.llvm.org/D26464

llvm-svn: 287378
2016-11-18 21:00:08 +00:00
clang [ARM] Fix sema check of ARM special register names 2016-11-18 21:00:08 +00:00
clang-tools-extra [clang-move] Fix not moving using-decls in global namespace in old.cc 2016-11-18 10:51:16 +00:00
compiler-rt rename InternalBinarySearch to InternalLowerBound 2016-11-18 20:48:52 +00:00
debuginfo-tests
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx Make LIBCXX_ENABLE_STATIC_ABI_LIBRARY merge libc++.a and libc++abi.a 2016-11-18 19:53:45 +00:00
libcxxabi __cxa_demangle: use default member initialization 2016-11-18 19:01:53 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld Simplify. NFC. 2016-11-18 19:45:04 +00:00
lldb Change CreateTarget and dependents to accept StringRef. 2016-11-18 20:44:46 +00:00
llgo
llvm [MIRPrinter] XFAIL test for powerpc 2016-11-18 20:08:05 +00:00
openmp Update stats-gathering code 2016-11-14 21:13:44 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly [NFC] Adjust naming scheme of statistic variables 2016-11-18 14:37:08 +00:00