- Jun 22, 2014
-
-
Alp Toker authored
llvm-svn: 211450
-
Alp Toker authored
We want to catch both negative and positive failure conditions. llvm-svn: 211449
-
Alp Toker authored
Fixes terminal column wrapping and vestigial 'note:' prefixes that would appear when using emitBasicNote(). llvm-svn: 211448
-
Alp Toker authored
The purpose of bolding these is to make them visually distinct from continuations (supplemental note diagnostics). Therefore, the bolding applies to all severities _including_ remarks -- it's not in any way an indicator of priority. Also simplify and comment. No tests. llvm-svn: 211447
-
David Majnemer authored
This Lexer test unconditionally used the i128 integer literal suffix. This suffix is only available to targets that have 128-bit arithmetic support. llvm-svn: 211446
-
Stepan Dyatkovskiy authored
Patch activates new implementation. So from now, merging process should take time O(N*log(N)). Where N size of module (we are free to measure it in functions or in instructions). Internally FnTree represents binary tree. So every lookup operation takes O(log(N)) time. It is still not the last patch in series, we also have to clean-up pass from old code, and update pass comments. This patch belongs to patch series that improves MergeFunctions performance time from O(N*N) to O(N*log(N)). llvm-svn: 211445
-
Stepan Dyatkovskiy authored
Patch removed next old FunctionComparator methods: * enumerate * isEquivalentOperation * isEquivalentGEP * isEquivalentType This patch belongs to patch series that improves MergeFunctions performance time from O(N*N) to O(N*log(N)). llvm-svn: 211444 -
Stepan Dyatkovskiy authored
llvm-svn: 211443
-
Stepan Dyatkovskiy authored
introduced among functions set. This patch belongs to patch series that improves MergeFunctions performance time from O(N*N) to O(N*log(N)). llvm-svn: 211442 -
David Majnemer authored
Something went wrong with r211426, it is an older version of this code and should not have been committed. It was reverted with r211434. Original commit message: We didn't properly implement support for the sized integer suffixes. Suffixes like i16 were essentially ignored instead of mapping them to the appropriately sized integer type. This fixes PR20008. Differential Revision: http://reviews.llvm.org/D4132 llvm-svn: 211441
-
Yabin Hu authored
llvm-svn: 211440
-
Argyrios Kyrtzidis authored
llvm-svn: 211439
-
Argyrios Kyrtzidis authored
Patch by Yiding Jia! llvm-svn: 211438
-
Stepan Dyatkovskiy authored
methods. Patch changes return type of FunctionComparator::compare() and FunctionComparator::compare(const BasicBlock*, const BasicBlock*) methods from bool (equal or not) to {-1, 0, 1} (less, equal, great). This patch belongs to patch series that improves MergeFunctions performance time from O(N*N) to O(N*log(N)). llvm-svn: 211437
-
- Jun 21, 2014
-
-
Benjamin Kramer authored
Fixes PR19823. llvm-svn: 211436
-
Benjamin Kramer authored
We handle this by spilling the whole thing to the stack and doing the insertion as a store. PR19492. This happens in real code because the vectorizer creates v2i128 when AVX is enabled. llvm-svn: 211435
-
Rafael Espindola authored
This reverts commit r211426. This broke the arm bots. The crash can be reproduced on X86 by running. ./bin/clang -cc1 -fsyntax-only -verify -fms-extensions ~/llvm/clang/test/Lexer/ms-extensions.c -triple arm-linux llvm-svn: 211434
-
Benjamin Kramer authored
PR20093. llvm-svn: 211433
-
Jeroen Ketema authored
While we are here introduce the proper headers for the error code. Reviewed-by:Tom Stellard <tom@stellard.net> llvm-svn: 211432
-
Simon Atanasyan authored
No functional changes. llvm-svn: 211431
-
Richard Trieu authored
Instead of asserting, output a message stating that a null pointer was found. llvm-svn: 211430
-
Dmitry Vyukov authored
llvm-svn: 211429
-
Saleem Abdulrasool authored
Storage Class 3 is static storage. These symbols need to be marked as external (storage class 2) so that they can be referenced. Note that this external is not the same as ELF "external" visibility, which is indicated by DLL Storage Class (i.e. __declspec(dllexport) or __declspec(dllimport)). llvm-svn: 211428
-
Andrea Di Biagio authored
This patch adds ISel patterns to select SSE3/AVX ADDSUB instructions from a sequence of "vadd + vsub + blend". Example: /// typedef float float4 __attribute__((ext_vector_type(4))); float4 foo(float4 A, float4 B) { float4 X = A - B; float4 Y = A + B; return (float4){X[0], Y[1], X[2], Y[3]}; } /// Before this patch, (with flag -mcpu=corei7) llc produced the following assembly sequence: movaps %xmm0, %xmm2 addps %xmm1, %xmm2 subps %xmm1, %xmm0 blendps $10, %xmm2, %xmm0 With this patch, we now get a single addsubps %xmm1, %xmm0 llvm-svn: 211427 -
David Majnemer authored
We didn't properly implement support for the sized integer suffixes. Suffixes like i16 were essentially ignored instead of mapping them to the appropriately sized integer type. This fixes PR20008. Differential Revision: http://reviews.llvm.org/D4132 llvm-svn: 211426
-
Todd Fiala authored
When a stub reported $#00 (unsupported) for _M and _m packets, the unsupported response was not handled and the client then marked the _M/_m commands as definitely supported. However, they would always fail, preventing lldb's fallback InferiorCallMmap-based allocation strategy from being used to attempt to allocate memory in the inferior process space. llvm-svn: 211425
-
Zachary Turner authored
std::recursive_mutex are not available on MinGW and breaks the builder. Revert to using a function local static and sys::Mutex just to get the tree green until we figure out a better solution. llvm-svn: 211424
-
Rafael Espindola authored
Fixes pr19185. llvm-svn: 211423
-
Dmitry Vyukov authored
llvm-svn: 211422
-
Justin Bogner authored
llvm-svn: 211421
-
Saleem Abdulrasool authored
The version information for Visual Studio is spread over multiple variables. The newer Windows SDK has started making use of some of the extended versioning variables that were previously undefined. Enhance our compatibility definitions for these cases. _MSC_VER is defined to be the Major * 100 + Minor. _MSC_FULL_VER is defined to be Major * 10000000 + Minor * 100000 + Build. And _MSC_BUILD is the build revision of the compiler. Extend the -fmsc-version option in a compatible manner. If the value is the previous form of MMmm, then we assume that the build number is 0. Otherwise, a specific build number may be passed by using the form MMmmbbbbb. Due to bitwidth limitations of the option, it is currently not possible to define a revision value. The version information can be passed as either the decimal encoded value (_MSC_FULL_VER or _MSC_VER) or as a dot-delimited value. The change to the TextDiagnostic is to deal with the updated encoding of the version information. llvm-svn: 211420
-
Dmitry Vyukov authored
llvm-svn: 211419
-
Dmitry Vyukov authored
llvm-svn: 211418
-
Dmitry Vyukov authored
freebsd does not have /proc/self/environ llvm-svn: 211417
-
Rafael Espindola authored
Another step in fixing pr19185. llvm-svn: 211416
-
Rafael Espindola authored
No functionality change. llvm-svn: 211415
-
Duncan P. N. Exon Smith authored
llvm-svn: 211414
-
Duncan P. N. Exon Smith authored
llvm-svn: 211413
-
Rafael Espindola authored
The compact unwind info is only used by code that knows it is supported. llvm-svn: 211412
-
Justin Bogner authored
It's more flexible and arguably better layering to set flags to modify compiling for diagnostics in the CC1 job themselves, rather than tweaking the driver flags and letting them propagate. There is one visible change this causes: crash report files will now get preprocessed names (.i and friends). llvm-svn: 211411
-