- Mar 17, 2014
-
-
Kostya Serebryany authored
llvm-svn: 204037
-
Kostya Serebryany authored
llvm-svn: 204036
-
Kostya Serebryany authored
llvm-svn: 204035
-
Kostya Serebryany authored
llvm-svn: 204034
-
Richard Smith authored
llvm-svn: 204033
-
Dmitry Vyukov authored
Make behavior introduced in r202820 conditional (under legacy_pthread_cond flag). The new issue that we've hit with the satellite pthread_cond_t struct is that pthread_condattr_getpshared does not work (satellite data is not shared between processes). The idea is that most processes do not use pthread 2.2.5. The rare ones that use (2.2.5 is dated by 2002) must specify legacy_pthread_cond=1 on their own risk. llvm-svn: 204032
-
Alexey Samsonov authored
Reviewers: rafael Reviewed By: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3081 llvm-svn: 204031
-
NAKAMURA Takumi authored
llvm-svn: 204030
-
Kostya Serebryany authored
llvm-svn: 204029
-
Rafael Espindola authored
This is really a consistency fix. Since given a = b we propagate the information, we should propagate it too given a = b + (1 - 1) Fixes pr19145. llvm-svn: 204028
-
David Blaikie authored
The previous deduping strategy was woefully inadequate - it only considered the most recent file used and avoided emitting a duplicate in that case - never considering the a/b/a scenario. It was also lacking when it came to directory paths as the previous filename would never match the current if the filename had been split into file and directory components. This change builds caching functionality into the line table at the lowest level in an optional form (a file number of 0 indicates that one should be chosen and returned) and will eventually be reused by the normal source level debugging DWARF emission. llvm-svn: 204027
-
David Blaikie authored
llvm-svn: 204026
-
Lang Hames authored
investigate. llvm-svn: 204025
-
Nico Rieck authored
llvm-svn: 204024
-
Nico Rieck authored
llvm-svn: 204023
-
Lang Hames authored
No functional change. llvm-svn: 204022
-
Lang Hames authored
- Adds support for inserting vzerouppers before tail-calls. This is enabled implicitly by having MachineInstr::copyImplicitOps preserve regmask operands, which allows VZeroUpperInserter to see where tail-calls use vector registers. - Fixes a bug that caused the previous version of this optimization to miss some vzeroupper insertion points in loops. (Loops-with-vector-code that followed loops-without-vector-code were mistakenly overlooked by the previous version). - New algorithm never revisits instructions. Fixes <rdar://problem/16228798> llvm-svn: 204021
-
NAKAMURA Takumi authored
llvm-svn: 204020
-
Manman Ren authored
llvm-svn: 204019
-
Steve Pucci authored
The gain with multithreading is large, but turning it on requires an environment variable and so is hard for users to discover. This gives users a way to discover the feature by printing out a message when the environment variable is not set. llvm-svn: 204018
-
- Mar 16, 2014
-
-
NAKAMURA Takumi authored
It doesn't make sense even with --export-all-symbols. llvm-svn: 204017
-
David Blaikie authored
While technically correct, we generally disallow any instance of named Twines due to their subtlety. llvm-svn: 204016
-
Richard Smith authored
initializer with the variable in order to determine the type. llvm-svn: 204015
-
Benjamin Kramer authored
llvm-svn: 204014
-
Arnaud A. de Grandmaison authored
llvm-svn: 204013
-
Benjamin Kramer authored
llvm-svn: 204012
-
Benjamin Kramer authored
llvm-svn: 204011
-
Benjamin Kramer authored
If we use a pair with an enum type this could create values outside of the enum range. Avoid it by creating the bit pattern directly. While there turn a dynamic assert into a static one. No functionality change. llvm-svn: 204010
-
Benjamin Kramer authored
Work around with a ton of boilerplate. llvm-svn: 204009
-
Benjamin Kramer authored
Also convert a horrible hash function to use our hashing infrastructure. No functionality change. llvm-svn: 204008
-
Benjamin Kramer authored
llvm-svn: 204007
-
- Mar 15, 2014
-
-
Benjamin Kramer authored
Serialization: Directly compare objects instead of using a functor duplicating the compare operators. No functionality change. llvm-svn: 204006
-
Stephan Tolksdorf authored
What's going on in the test case (without the patch applied) is this: When the header is parsed, decltype(B()) is canonicalized to decltype(Y()), because that was the first parsed equivalent decltype expression. Hence, the TemplateSpecializationType for Id<decltype(B())> ends up with SubstTemplateTypeParmType(T, decltype(Y())) as the AliasedType member. When the PCH file is included and the AST reader reads Id<decltype(B())>, it sees decltype(B()) before decltype(Y()). So, this time decltype(B()) ends up being the canonical type for both decltypes, which leads to an assert violation when the reader calls getSubstTemplateTypeParmType with the non-canonical decltype(Y()) as the replacement type. Reviewers: rsmith Reviewed By: rsmith CC: cfe-commits, aemerson Differential Revision: http://llvm-reviews.chandlerc.com/D3073 llvm-svn: 204005
-
Benjamin Kramer authored
llvm-svn: 204004
-
Patrik Hagglund authored
Utilize the previous move of MVT to a separate header for all trivial cases (that don't need any further restructuring). Reviewed By: Tim Northover llvm-svn: 204003
-
Craig Topper authored
llvm-svn: 204002
-
Ted Kremenek authored
llvm-svn: 204001
-
Ted Kremenek authored
Further refine -Wunreachable-code groups so that -Wno-unreachable-code-break doesn't turn off all unreachable code warnings. Also relax unreachable 'break' and 'return' to not check for being preceded by a call to 'noreturn'. That turns out to not be so interesting in practice. llvm-svn: 204000
-
Craig Topper authored
llvm-svn: 203999
-
Justin Bogner authored
Since our error_category is based on the std one, we should have the same visibility for the constructor. This also allows us to avoid using the _do_message implementation detail in our own categories. llvm-svn: 203998
-