- Nov 06, 2016
-
-
Rui Ueyama authored
A CommonInputSection is a section containing all common symbols. That was an input section but was abstracted in a different way than the synthetic input sections because it was written before the synthetic input section was invented. This patch rewrites CommonInputSection as a synthetic input section so that it behaves better with other sections. llvm-svn: 286053
-
Simon Atanasyan authored
In short the patch introduces support for linking object file conform MIPS N32 ABI [1]. This ABI is similar to N64 ABI but uses 32-bit pointer size. The most non-trivial requirement of this ABI is one more relocation packing format. N64 ABI puts multiple relocation type into the single relocation record. The N32 ABI uses series of successive relocations with the same offset for this purpose. In this patch, new function `mergeMipsN32RelTypes` handle this case and "convert" N32 relocation to the N64 relocation so the rest of the code keep unchanged. For now, linker does not support series of relocations applied to sections without SHF_ALLOC bit. Probably later I will add the support or insert some sort of assert into the `relocateNonAlloc` routine to catch this case. [1] ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/MIPS-N32-ABI-Handbook.pdf Differential revision: https://reviews.llvm.org/D26298 llvm-svn: 286052
-
Rui Ueyama authored
Previously, we do this piece of code to iterate over all input sections. for (elf::ObjectFile<ELFT> *F : Symtab.getObjectFiles()) for (InputSectionBase<ELFT> *S : F->getSections()) It turned out that this mechanisms doesn't work well with synthetic input sections because synthetic input sections don't belong to any input file. This patch defines a vector that contains all input sections including synthetic ones. llvm-svn: 286051 -
Tobias Grosser authored
Add some additional asserts that ensure newly code-generated memory accesses are defined on all domain and schedule domain instances. llvm-svn: 286050
-
Krzysztof Parzyszek authored
llvm-svn: 286049
-
Krzysztof Parzyszek authored
Consistently use register class pat frags instead of spelling out the type and class each time. llvm-svn: 286048
-
Tobias Grosser authored
Add asserts that verify that the memory accesses of a new copy statement are defined for all domain instances the copy statement is defined for. llvm-svn: 286047
-
Boris Ulasevich authored
llvm-svn: 286046
-
Simon Pilgrim authored
Don't regenerate a zeroable element mask with computeZeroableShuffleElements when its already available. llvm-svn: 286045
-
Simon Pilgrim authored
Don't regenerate a zeroable element mask with computeZeroableShuffleElements when its already available. llvm-svn: 286044
-
Simon Pilgrim authored
Don't regenerate a zeroable element mask with computeZeroableShuffleElements when its already available. llvm-svn: 286043
-
Simon Pilgrim authored
Don't regenerate a zeroable element mask with computeZeroableShuffleElements when its already available. llvm-svn: 286042
-
Daniel Jasper authored
Before: aaaaaaaaaaaaaaa< aaaaaaaaa, aaaaaaaaaa, aaaaaaaaaaaaaa><<<aaaaaaaaa, aaaaaaaaaa, aaaaaaaaaaaaaaaaaa>>>(); After: aaaaaaaaaaaaaaa<aaaaaaaaa, aaaaaaaaaa, aaaaaaaaaaaaaa> <<<aaaaaaaaa, aaaaaaaaaa, aaaaaaaaaaaaaaaaaa>>>(); llvm-svn: 286041 -
Simon Pilgrim authored
Don't regenerate a zeroable element mask with computeZeroableShuffleElements when its already available. llvm-svn: 286040
-
Simon Pilgrim authored
Don't regenerate a zeroable element mask with computeZeroableShuffleElements when its already available. llvm-svn: 286039
-
Justin Lebar authored
Summary: SmallSetVector uses DenseSet, but that means we need to reserve some values for the empty and tombstone keys. It seems to me we should have a general way to let us store full-range ints inside of DenseSets, and furthermore that we probably shouldn't silently let you add ints into DenseSets without explicitly promising that they're in range. But that's a battle for another day; for now, just fix this code, since we currently do something Very Bad when compiling ffmpeg. Fixes PR30914. Reviewers: jeremyhu Subscribers: llvm-commits, mzolotukhin Differential Revision: https://reviews.llvm.org/D26323 llvm-svn: 286038
-
Simon Pilgrim authored
We are repeatedly calling computeZeroableShuffleElements in many shuffle lowering calls for the same shuffle mask/inputs. This is a first step towards reusing the zeroable result, initially just for lowerVectorShuffleAsShift calls. llvm-svn: 286037
-
- Nov 05, 2016
-
-
Krzysztof Parzyszek authored
This is just the basic separation, without any cleanup. Further changes will follow. llvm-svn: 286036
-
Ed Maste authored
Differential Revision: https://reviews.llvm.org/D26315 llvm-svn: 286035
-
Simon Pilgrim authored
llvm-svn: 286034
-
Craig Topper authored
[AVX-512] Use an equality compare instead of StringRef::startswith in a few places in auto upgrade that were looking for the complete intrinsic name anyway. llvm-svn: 286033
-
Alina Sbirlea authored
Summary: Update the boundries for mprotect. Patch by Andrew Adams. Fixes PR30905. Reviewers: loladiro, andrew.w.kaylor, chandlerc Subscribers: abadams, llvm-commits Differential Revision: https://reviews.llvm.org/D26312 llvm-svn: 286032
-
Craig Topper authored
It currently fires an assert if you even try. Looking back, I don't think it ever worked because it only changed the name of the function object, but not the intrinsic ID stored in it. Given that, I think it can be removed since no one has noticed or complained in the past 4 years. llvm-svn: 286031
-
Eugene Zelenko authored
Differential revision: https://reviews.llvm.org/D26320 llvm-svn: 286030
-
Eric Fiselier authored
llvm-svn: 286029
-
Rui Ueyama authored
llvm-svn: 286028
-
NAKAMURA Takumi authored
llvm-svn: 286027
-
Lang Hames authored
ExecutionEngine::removeModule. llvm-svn: 286026
-
Rui Ueyama authored
This change fixes a bug that was introduced by r285851. r285851 converted .interp section as an output section to an input section. But I forgot to make it a "Live" section, so if -gc-section is given, it was garbage collected. llvm-svn: 286025
-
Justin Bogner authored
This Makes sure we only export targets that we're distributing, since cmake will fail to import the file otherwise due to missing targets. llvm-svn: 286024
-
Felix Berger authored
[ClangTidy - performance-unnecessary-value-param] Only add "const" when current parameter is not already const qualified Reviewers: alexfh, sbenza, aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26207 llvm-svn: 286010
-
Krzysztof Parzyszek authored
llvm-svn: 286009
-
Felix Berger authored
Summary: IsExpensiveToCopy can return false positives for incomplete types, so ignore them. All existing ClangTidy tests that depend on this function still pass as the types are complete. Reviewers: alexfh, aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26195 llvm-svn: 286008
-
Stephan T. Lavavej authored
This replaces every occurrence of _LIBCPP_STD_VER in the tests with TEST_STD_VER. Additionally, for every affected file, #include "test_macros.h" is being added explicitly if it wasn't already there. https://reviews.llvm.org/D26294 llvm-svn: 286007
-
Weiming Zhao authored
Summary: This patch returns the same label if the CP entry with the same value has been created. Reviewers: eli.friedman, rengolin, jmolloy Subscribers: majnemer, jmolloy, llvm-commits Differential Revision: https://reviews.llvm.org/D25804 llvm-svn: 286006
-
NAKAMURA Takumi authored
It depends on host's pow(3), and mingw's pow doesn't raise any errors, just returns +INF. llvm-svn: 286005
-
Rui Ueyama authored
It turned ou that we actually want to call std::for_each even if threading is supported. Unless --thread is given, LLD shouldn't use more than one threads. llvm-svn: 286004
-
Enrico Granata authored
llvm-svn: 286003
-
Ahmed Bougacha authored
This reflects the current state of Global ISel. As progress is made, we'll document our design decisions in it. Comments very welcome! llvm-svn: 286002
-
Rui Ueyama authored
llvm-svn: 286001
-