- Jan 06, 2017
-
-
Michal Gorny authored
Remove config.test_examples from lit.site.cfg and the relevant ENABLE_EXAMPLES definition from CMake. It is not used anywhere. Differential Revision: https://reviews.llvm.org/D28283 llvm-svn: 291283
-
David Majnemer authored
We know that urem %V, C can be optimized away to %V if %V is ult C. llvm-svn: 291282
-
Mehdi Amini authored
This is fixing a bug where Loop Vectorization is widening a load but with a lower alignment. Hoisting the load without propagating the alignment will allow inst-combine to later deduce a higher alignment that what the pointer actually is. Differential Revision: https://reviews.llvm.org/D28408 llvm-svn: 291281
-
Kuba Mracek authored
This patch teaches asan_symbolize.py to read an architecture suffix on module names (e.g. ":x86_64") and pass that option to atos and llvm-symbolizer. Differential Revision: https://reviews.llvm.org/D27378 llvm-svn: 291280
-
Jan Vesely authored
This will make transition to SCRATCH_MEMORY easier Differential Revision: https://reviews.llvm.org/D24746 llvm-svn: 291279
-
Eric Fiselier authored
llvm-svn: 291278
-
Kuba Mracek authored
This patch add a new sanitizer flag, print_module_map, which enables printing a module map when the process exits, or after each report (for TSan). The output format is very similar to what Crash Reporter produces on Darwin (e.g. the format of module UUIDs). This enables users to use the existing symbol servers to offline symbolicate and aggregate reports. Differential Revision: https://reviews.llvm.org/D27400 llvm-svn: 291277
-
Mehdi Amini authored
Summary: Clang was initializing the TargetMachine with CodeGenOpt::Default for O1. This change is aligning it on llc: -O0: OptLevel = CodeGenOpt::None -O1: OptLevel = CodeGenOpt::Less -O2 -Os -Oz: OptLevel = CodeGenOpt::Default -O3: OptLevel = CodeGenOpt::Aggressive Reviewers: echristo, chandlerc Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D28409 llvm-svn: 291276
-
Eric Fiselier authored
Summary: This patch attempts to clean up the macro configuration mess in `<__threading_support>`, specifically the mess involving external threading variants. Additionally this patch adds design documentation for `<__threading_support>` and the configuration macros it uses. The primary change in this patch is separating the idea of an "external API" provided by `<__external_threading>` and the idea of having an external threading library. Now `_LIBCPP_HAS_THREAD_API_EXTERNAL` means that libc++ should use `<__external_threading>` and that the header is expected to exist. Additionally the new macro `_LIBCPP_HAS_THREAD_LIBRARY_EXTERNAL` is now used to configure for using an "external library" with the default threading API. Reviewers: compnerd, rmaprath Subscribers: smeenai, cfe-commits, mgorny Differential Revision: https://reviews.llvm.org/D28316 llvm-svn: 291275
-
Simon Pilgrim authored
Made no sense for them to be different and caused useless diffs in assembly remarks. llvm-svn: 291274
-
David Blaikie authored
Aleksey Shlyapnikov pointed out the memory leak I'd introduced, so recommitted the clang change with a fix for that. This reapplies r291186, reverted in r291251. llvm-svn: 291272
-
David Blaikie authored
Aleksey Shlyapnikov found the memory leak I introduced, recommitted the Clang change with a fix for this. This reapplies r291200 reverted in r291250 llvm-svn: 291271
-
David Blaikie authored
Aleksey Shlypanikov pointed out my mistake in migrating an explicit unique_ptr to auto - I was expecting the function returned a unique_ptr, but instead it returned a raw pointer - introducing a leak. Thanks Aleksey! This reapplies r291184, reverted in r291249. llvm-svn: 291270
-
Simon Pilgrim authored
llvm-svn: 291269
-
Kuba Mracek authored
This patch adds tracking which modules are instrumented and which are not. On macOS, instrumented modules link against the ASan/TSan/... dylib, so we can just check if such a load command exists or not. Differential Revision: https://reviews.llvm.org/D28263 llvm-svn: 291268
-
Mike Aizatsky authored
Reintroducing https://reviews.llvm.org/rL291068 Define options function everywhere but linux. llvm-svn: 291267
-
Matthias Braun authored
Re-apply r288561: This time with a fix where the ADDs that are part of a 3 instruction LOH would not invalidate the "LastAdrp" state. This fixes http://llvm.org/PR31361 Previously this pass was using up to 5% compile time in some cases which is a bit much for what it is doing. The pass featured a full blown data-flow analysis which in the default configuration was restricted to a single block. This rewrites the pass under the assumption that we only ever work on a single block. This is done in a single pass maintaining a state machine per general purpose register to catch LOH patterns. Differential Revision: https://reviews.llvm.org/D27329 This reverts commit 9e6cedb0a4f14364d6511597a9160305e7d34493. llvm-svn: 291266
-
Sanjay Patel authored
llvm-svn: 291265
-
George Burgess IV authored
llvm-svn: 291264
-
Rafael Espindola authored
Should bring back the windows bots. llvm-svn: 291263
-
Sanjay Patel authored
As discussed here: http://lists.llvm.org/pipermail/llvm-dev/2017-January/108749.html ...we should be able to better optimize this pattern. llvm-svn: 291262
-
Rafael Espindola authored
llvm-svn: 291261
-
Kelvin Li authored
llvm-svn: 291260
-
Michal Gorny authored
Implement the missing __floattitf() and __floatuntitf() functions, to convert 128-bit (unsigned) integers to quad-precision floating-point types. This is needed e.g. on AArch64 where 'long double' is a quad-precision type. The code is based on the existing code for __floattixf() and __floatuntixf(), updated to account for different bit field lengths of quad-precision float. The tests are also copied, with the rounding tests adjusted for longer significand. Differential Revision: https://reviews.llvm.org/D27898 llvm-svn: 291259
-
Wolfgang Pieb authored
order to avoid jumpy line tables. Calls are left alone because they may be inlined. Differential Revision: https://reviews.llvm.org/D28390 llvm-svn: 291258
-
Reid Kleckner authored
llvm-svn: 291257
-
Reid Kleckner authored
This usage of strcpy and snprintf was certainly safe, but using them sets off various deprecation and lint warnings. Easier to just write the belt and suspenders version. llvm-svn: 291256
-
Reid Kleckner authored
It passes --sysroot for the Linux CUDA installation. To make this test pass when targetting Windows, you would need to pass --sysroot=Inputs/CUDA-windows. llvm-svn: 291255
-
Chad Rosier authored
Differential Revision: https://reviews.llvm.org/D28403 llvm-svn: 291254
-
Akira Hatanaka authored
FunctionDecls. This commit silences an incorrect warning that is issued when a function pointer is cast to another function pointer type. The warning gets issued because alignments of the source and destination do not match in Sema::CheckCastAlign, which happens because ASTContext::getTypeInfoImpl and ASTContext::getDeclAlign return different values for functions (the former returns 4 while the latter returns 1). This should fix PR31558. rdar://problem/29533528 Differential Revision: https://reviews.llvm.org/D27478 llvm-svn: 291253
-
David Blaikie authored
(should've rolled in to this revert of the CompilerInstance change in the first place... anyway) This reverts commit r291185. llvm-svn: 291252
-
David Blaikie authored
The original commit caused an asan-detected memory leak in Clang. Reverting while I investigate. This reverts commit r291186. llvm-svn: 291251
-
David Blaikie authored
The original Clang change caused a memory leak detected by asan. Reverting while I investigate. This reverts commit r291200. llvm-svn: 291250
-
David Blaikie authored
Caused a memory leak reported by asan. Reverting while I investigate. This reverts commit r291184. llvm-svn: 291249
-
Simon Pilgrim authored
Early step towards ignoring domain above a certain shuffle depth. llvm-svn: 291248
-
Tobias Grosser authored
llvm-svn: 291247
-
Konstantin Zhuravlyov authored
llvm-svn: 291246
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D27732 llvm-svn: 291245
-
Simon Pilgrim authored
The AVX1-only limit is never actually required in matchUnaryVectorShuffle llvm-svn: 291244
-
Konstantin Zhuravlyov authored
[OpenCL] Re-enable supported core extensions based on opencl version when disabling all extensions using pragma Differential Revision: https://reviews.llvm.org/D28257 llvm-svn: 291243
-