- May 04, 2014
-
-
Alp Toker authored
These are somewhat arbitrary tests that check if "thing goes fine" when processing various platform-specific headers. Also move warn-sysheader.cpp to Misc where the other diagnostics infrastructure tests live. File moves only. llvm-svn: 207936
-
Chandler Carruth authored
operations on the call graph. This one forms a cycle, and while not as complex as removing an internal edge from an SCC, it involves a reasonable amount of work to find all of the nodes newly connected in a cycle. Also somewhat alarming is the worst case complexity here: it might have to walk roughly the entire SCC inverse DAG to insert a single edge. This is carefully documented in the API (I hope). llvm-svn: 207935
-
Chandler Carruth authored
before intra-SCC mutation, insertion before removal. No functionality changed. llvm-svn: 207934
-
Argyrios Kyrtzidis authored
llvm-svn: 207933
-
Ben Langmuir authored
llvm-svn: 207932
-
Argyrios Kyrtzidis authored
llvm-svn: 207931
-
Saleem Abdulrasool authored
Add support for the remaining hints from the ACLE. Although __dbg is listed as a hint, it is handled different, so it is not covered by this change. llvm-svn: 207930
-
Saleem Abdulrasool authored
Windows on ARM uses AAPCS, but has some deviations. wchar_t remains an unsigned short on WoA, which does not conform to AAPCS. Ensure that wchar_t is defined accordingly. llvm-svn: 207929
-
Saleem Abdulrasool authored
Use more range loops in the X86AsmPrinter. NFC. llvm-svn: 207928
-
Saleem Abdulrasool authored
Remove dead code. This is vestigial after r98384. llvm-svn: 207927
-
Saleem Abdulrasool authored
Both MinGW and cygwin (i686) construct export directives without the global leader prefix. This is mostly due to the fact that they use GNU ld which does not correctly handle the export directive. This apparently has been been broken for a while. However, this was recently reported as being broken by mingwandroid and diorcety of the msys2 project. Remove the global leader prefix if targeting MinGW or cygwin, otherwise, retain the global leader prefix. Add an explicit test for cygwin's behaviour of export directives. llvm-svn: 207926
-
Saleem Abdulrasool authored
Create a helper function to generate the export directive. This was previously duplicated inline to handle export directives for variables and functions. This also enables the use of range-based iterators for the generation of the directive rather than the traditional loops. NFC. llvm-svn: 207925
-
David Majnemer authored
We don't modify the AttrBuilder in AttributeSet::get, make the reference argument const. llvm-svn: 207924
-
Juergen Ributzka authored
This fix simply ensures that both metadata nodes are path-aware before performing path-aware alias analysis. This issue isn't normally triggered in LLVM, because we perform an autoupgrade of the TBAA metadata to the new format when reading in LL or BC files. This issue only appears when a client creates the IR manually and mixes old and new TBAA metadata format. This fixes <rdar://problem/16760860>. llvm-svn: 207923
-
Nico Weber authored
* Fixes a "return" that was indented at the same level as the continuation from the previous line * Wrap several lines to 80 columns * Remove an if check that was always true * Move a variable declaration slightly closer to its use llvm-svn: 207922
-
Nico Weber authored
llvm-svn: 207921
-
Rafael Espindola authored
The fix itself is fairly simple: move getAccessVariant to MCValue so that we replace the old weak expression evaluation with the far more general EvaluateAsRelocatable. This then requires that EvaluateAsRelocatable stop when it finds a non trivial reference kind. And that in turn requires the ELF writer to look harder for weak references. Last but not least, this found a case where we were being bug by bug compatible with gas and accepting an invalid input. I reported pr19647 to track it. llvm-svn: 207920
-
Benjamin Kramer authored
That's exactly what TinyPtrVector was designed for. No functionality change. llvm-svn: 207919
-
Joey Gouly authored
http://reviews.llvm.org/D3598 llvm-svn: 207917
-
- May 03, 2014
-
-
Benjamin Kramer authored
There is no point in creating it if we're not going to vectorize anything. Creating the map is expensive as it creates large values. No functionality change. llvm-svn: 207916
-
Rafael Espindola authored
llvm-svn: 207915
-
Alp Toker authored
C++11 is now required. llvm-svn: 207914
-
Alp Toker authored
llvm-svn: 207913
-
Alp Toker authored
There's an element of guesswork involved in the GCC updates but it seems better than what was there before. llvm-svn: 207912
-
Rafael Espindola authored
llvm-svn: 207911
-
Rafael Espindola authored
llvm-svn: 207910
-
Rafael Espindola authored
llvm-svn: 207909
-
Benjamin Kramer authored
llvm-svn: 207908
-
Joerg Sonnenberger authored
llvm-svn: 207907
-
Yaron Keren authored
llvm-svn: 207906
-
Simon Atanasyan authored
which are corresponding to the current target read from the ELF file. This fix cannot be tested until obj2yaml does not support ELF format. llvm-svn: 207905
-
Simon Atanasyan authored
llvm-svn: 207904
-
Yaron Keren authored
llvm-svn: 207903
-
Chandler Carruth authored
a std::vector that allocates on the heap. As a consequence, we have to run all of their destructors when tearing down the set, not just deallocate the memory blobs. llvm-svn: 207902
-
Karthik Bhat authored
This patch adds support to recognize and vectorize intrinsic math functions in SLPVectorizer. Review: http://reviews.llvm.org/D3560 and http://reviews.llvm.org/D3559 llvm-svn: 207901
-
Chandler Carruth authored
initializing an array unless we need it. Specifically, position the creation of a new basic block after we've checked all of the cases that bypass the need for it. Fixes another leak in test/CodeGen* found by LSan. llvm-svn: 207900
-
Chandler Carruth authored
parsing. llvm-svn: 207899
-
Alp Toker authored
Having various possible states of initialization following construction doesn't add value here. Also remove the unused size_reserve parameter. llvm-svn: 207897
-
Alp Toker authored
llvm-svn: 207896
-
Alp Toker authored
llvm-svn: 207895
-