- Jun 22, 2014
-
-
Sylvestre Ledru authored
llvm-svn: 211468
-
NAKAMURA Takumi authored
Revert r211402 (and r211408,r211410), "CodeGen: Refactor dynamic_cast and typeid" It crashes msvc codegen in clang/test/SemaCXX/undefined-internal.cpp. It is reproducible with: $ clang -cc1 -triple i686-win32 -emit-llvm-only clang/test/SemaCXX/undefined-internal.cpp llvm-svn: 211467
-
NAKAMURA Takumi authored
.debug_frame is not emitted for targeting Windows x64. llvm-svn: 211466
-
Benjamin Kramer authored
llvm-svn: 211465
-
Benjamin Kramer authored
llvm-svn: 211464
-
Simon Atanasyan authored
llvm-svn: 211463
-
Alp Toker authored
Custom diagnostics don't have a builtin class so this wouldn't have worked. Reduces surface area of remark-related changes. No test coverage. llvm-svn: 211462
-
Alp Toker authored
Make binaries built by MSVC, mingw and clang functionally equivalent. The checks are trivially performed at runtime to eliminate functional differences between supported configurations that used to be hard-coded. llvm-svn: 211461
-
Arnold Schwaighofer authored
The induction variables start value needs to be defined before we branch (overflow check) to the scalar preheader where we used it. llvm-svn: 211460
-
Alp Toker authored
Don't try to find the MSVC version that the binaries were built with. Doing so defeats testing by causing invalid test passes on the build servers. Whichever Visual Studio (or clang-cl.exe) edition was used to build the clang package, it's strictly orthogonal and has no relation to software versions available on the user's PC. llvm-svn: 211459
-
Alp Toker authored
De-conditionalize as much as possible so we can start to fix this code. No change in functionality. llvm-svn: 211458
-
Stepan Dyatkovskiy authored
Patch removes rest part of code related to old implementation. This patch belongs to patch series that improves MergeFunctions performance time from O(N*N) to O(N*log(N)). This one was the final patch. llvm-svn: 211457
-
Stepan Dyatkovskiy authored
Added short description for new comparison algorithm, that introduces total ordering 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: 211456
-
Weiming Zhao authored
User may initialize a var with non-zero value and specify .bss section. E.g. : int a __attribute__((section(".bss"))) = 2; This patch converts an assertion to error report for better user experience. Differential Revision: http://reviews.llvm.org/D4199 llvm-svn: 211455 -
Sylvestre Ledru authored
llvm-svn: 211454
-
Jordan Rose authored
Patch by Sean McBride, tests adjusted by me. llvm-svn: 211453
-
Sylvestre Ledru authored
llvm-svn: 211452
-
Sylvestre Ledru authored
llvm-svn: 211451
-
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
-