- Oct 06, 2016
-
-
Hal Finkel authored
When there are multiple optimizations on one line, record the vectorization factors, etc. correctly (instead of incorrectly substituting default values). llvm-svn: 283443
-
Diana Picus authored
This reverts commit r283383 because it broke some of the bots: undefined reference to ` __aeabi_uldivmod' It affected (at least) clang-cmake-armv7-a15-selfhost, clang-cmake-armv7-a15-selfhost and clang-native-arm-lnt. llvm-svn: 283442
-
Asiri Rathnayake authored
First batch of changes to get some of these XFAILs working in the no-exceptions libc++ variant. Changed some XFAILs to UNSUPPORTED where the test is all about exception handling. In other cases, used the test macros TEST_THROW and TEST_HAS_NO_EXCEPTIONS to conditionally exclude those parts of the test that concerns exception handling behaviour. Reviewers: EricWF, mclow.lists Differential revision: https://reviews.llvm.org/D24562 llvm-svn: 283441
-
Hal Finkel authored
Line numbers should start from 1, not 2. llvm-svn: 283440
-
Henric Karlsson authored
llvm-svn: 283439
-
Sagar Thakur authored
Used uptr for __sanitizer_kernel_sigset_t.sig to avoid byte order issues on big endian systems Reviewd by bruening. Differential: D24332 llvm-svn: 283438
-
Matt Arsenault authored
These ones need to have the size on the pseudo instruction set for getInstSizeInBytes to work correctly. These also have a statically known size. llvm-svn: 283437
-
Zvi Rackover authored
llvm-svn: 283436
-
Sagar Thakur authored
With this patch 12 out of 13 tests are passing. Reviewed by zhaoqin. Differential: D23799 llvm-svn: 283435
-
Bjorn Pettersson authored
Summary: The computeKnownBits and ComputeNumSignBits functions in ValueTracking can now do a simple look-through of ExtractElement. Reviewers: majnemer, spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24955 llvm-svn: 283434
-
Sagar Thakur authored
Adding 40-bit shadow memory parameters because MIPS64 uses 40-bit virtual memory addresses. Reviewed by rengolin. Differential: https://reviews.llvm.org/D23801 llvm-svn: 283433
-
Alex Lorenz authored
This commit fixes a crash that happens when clang is analyzing a transparent_union attribute on a union which has a field with incomplete type. rdar://28630028 Differential Revision: https://reviews.llvm.org/D25273 llvm-svn: 283432
-
Eugene Leviant authored
Differential revision: https://reviews.llvm.org/D25240 llvm-svn: 283431
-
Benjamin Kramer authored
llvm-svn: 283430
-
Eugene Leviant authored
Differential revision: https://reviews.llvm.org/D24298 llvm-svn: 283429
-
Alex Lorenz authored
This commit fixes PR 30440 by initializing CXXNameMangler's FunctionTypeDepth in the two constructors added in r274222 (The commit that caused this regression). rdar://28455269 Differential Revision: https://reviews.llvm.org/D24932 llvm-svn: 283428
-
Nuno Lopes authored
Cygwin has dlfcn.h, but no Dl_info llvm-svn: 283427
-
George Rimar authored
This patch makes the check for null section stricter, so it is only allowed for STT_SECTION symbols now. Differential revision: https://reviews.llvm.org/D25231 llvm-svn: 283426
-
Haojian Wu authored
Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25227 llvm-svn: 283425
-
Haojian Wu authored
Summary: cleanup the remaining empty namespace after moving out the class defintitions. Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25282 llvm-svn: 283424
-
James Molloy authored
Global variables are GlobalValues, so they have explicit alignment. Querying DataLayout for the alignment was incorrect. Testcase added. llvm-svn: 283423
-
James Molloy authored
We can work around a shortcoming of FileCheck by using {{\[}} to match a square bracket before a [[ sequence. Thanks to Eli Friedman for the heads up! llvm-svn: 283422 -
Dean Michael Berris authored
llvm-svn: 283421
-
Petr Hosek authored
Provide toolchain and tool support for Fuchsia operating system. Fuchsia uses compiler-rt as the runtime library and libc++, libc++abi and libunwind as the C++ standard library. lld is used as a default linker. Differential Revision: https://reviews.llvm.org/D25117 llvm-svn: 283420
-
Petr Hosek authored
Fuchsia is a new operating system. Differential Revision: https://reviews.llvm.org/D25116 llvm-svn: 283419
-
Kostya Serebryany authored
llvm-svn: 283418
-
Mehdi Amini authored
llvm-svn: 283417
-
Mehdi Amini authored
As a side effect, this avoid having to call .data() on the StringRef. llvm-svn: 283416
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D25121 llvm-svn: 283415
-
Zachary Turner authored
This one was my fault since I can't compile Android. llvm-svn: 283414
-
Zachary Turner authored
This is better for a number of reasons. Mostly style, but also: 1) Signed-unsigned comparison warnings disappear since there is no loop index. 2) Iterating with the range-for style gives you back an entry that has more than just a const char*, so it's more efficient and more useful. 3) Makes code safter since the type system enforces that it's impossible to index out of bounds. llvm-svn: 283413
-
Kostya Serebryany authored
llvm-svn: 283411
-
Sanjay Patel authored
The AVX attribute is added to remove noise caused by SSE's destructive insts. llvm-svn: 283410
-
Kostya Serebryany authored
llvm-svn: 283409
-
Eric Fiselier authored
Summary: The current implementation of `hash_code()` for uniqued RTTI strings violates strict aliasing by dereferencing a type-punned pointer. Specifically it generates a `const char**` pointer from the address of the `__name` member before casting it to `const size_t*` and dereferencing it to get the hash. This is really just a complex and incorrect way of writing `reinterpret_cast<size_t>(__name)`. This patch changes the conversion sequence so that it no longer contains UB. Reviewers: howard.hinnant, mclow.lists Subscribers: rjmccall, cfe-commits Differential Revision: https://reviews.llvm.org/D24012 llvm-svn: 283408
-
Hal Finkel authored
We need to match file names with both forward and backward slashes. llvm-svn: 283407
-
Richard Smith authored
new expression, distinguish between the case of a constant and non-constant initializer. In the former case, if the bound is erroneous (too many initializer elements, bound is negative, or allocated size overflows), reject, and take the bound into account when determining whether we need to default-construct any elements. In the remanining cases, move the logic to check for default-constructibility of trailing elements into the initialization code rather than inventing a bogus array bound, to cope with cases where the number of initialized elements is not the same as the number of initializer list elements (this can happen due to string literal initialization or brace elision). This also fixes rejects-valid and crash-on-valid errors when initializing a new'd array of character type from a braced string literal. llvm-svn: 283406
-
Richard Smith authored
llvm-svn: 283405
-
Jason Molenda authored
insturction profiling. Add a test that verifies that we reject a 32-bit only instruction in 64-bit (long) mode. This wraps up all the testing I want to add for x86AssemblyInspectionEngine. llvm-svn: 283404
-
Reid Kleckner authored
If we don't truncate, LLVM asserts when the label difference doesn't fit in a 16 bit field. This patch truncates two kinds of data: trailing null terminated names in symbol records, and inline line tables. The inline line table test that I have is too large (many MB), so I'm not checking it in. Hopefully fixes PR28264. llvm-svn: 283403
-