summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [thinlto] Add cold-callsite import heuristicPiotr Padlewski2016-09-292-10/+30
| | | | | | | | | | | | | | Summary: Not tunned up heuristic, but with this small heuristic there is about +0.10% improvement on SPEC 2006 Reviewers: tejohnson, mehdi_amini, eraman Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D24940 llvm-svn: 282733
* [X86] Avoid "unused" warnings if no assertsDouglas Katzman2016-09-291-2/+4
| | | | llvm-svn: 282732
* [LV] Move static createMissedAnalysis from anonymous to global namespaceAdam Nemet2016-09-291-26/+26
| | | | | | This is an attempt to fix a windows bot. llvm-svn: 282730
* [LV] Convert CostModel to use the new streaming opt remark APIAdam Nemet2016-09-291-21/+20
| | | | | | Here we can already remove the member function emitAnalysis. llvm-svn: 282729
* [LV] Split most of createMissedAnalysis into a static function. NFCAdam Nemet2016-09-291-15/+28
| | | | | | This will be shared between Legality and CostModel. llvm-svn: 282728
* [sancov] removing html report option test, the option doesn't exist anymoreMike Aizatsky2016-09-291-24/+0
| | | | llvm-svn: 282727
* [LV] Convert all but one opt remark in Legality to new streaming interfaceAdam Nemet2016-09-291-46/+72
| | | | | | | | The last one remaining after which emitAnalysis can be removed is when we convert the LAA's report to a vectorization report. This requires converting LAA to the new interface first. llvm-svn: 282726
* Simplify. NFC.Rafael Espindola2016-09-291-5/+4
| | | | llvm-svn: 282725
* Don't handle binary output differently.Rafael Espindola2016-09-291-1/+1
| | | | | | | It is not clear if we need a different layout, so for now handle them like regular ELF output. llvm-svn: 282724
* [LV] Convert emitRemark to new opt remark streaming interfaceAdam Nemet2016-09-293-15/+37
| | | | | | | Also renamed the function to emitRemarkWithHints to better reflect what the function actually does. llvm-svn: 282723
* Remove unnecessary explicitAdam Nemet2016-09-291-2/+2
| | | | llvm-svn: 282722
* [libFuzzer] initialize ValueBitMap::NumBitsKostya Serebryany2016-09-291-1/+1
| | | | llvm-svn: 282721
* [X86][SSE] Added common helper for shuffle mask constant pool decodes.Simon Pilgrim2016-09-291-164/+136
| | | | | | | | | | The shuffle mask decodes have a large amount of repeated code extracting/splitting mask values from Constant data. This patch pulls all of this duplicated code into a single helper function to identify undef elements and combine/split constant integer data into the requested shuffle mask elements. Updated PSHUFB/VPERMIL/VPERMIL2/VPPERM decoders to use it (VPERMV/VPERMV3 could be converted as well in the future). llvm-svn: 282720
* [X86] Add explicit test triple to make windows/msvc builds happierSimon Pilgrim2016-09-291-1/+1
| | | | llvm-svn: 282719
* [docs] Fix a broken URL in 'HowToAddABuilder'Dylan McKay2016-09-291-1/+1
| | | | llvm-svn: 282718
* Test commit. NFC.Volkan Keles2016-09-291-1/+1
| | | | llvm-svn: 282717
* [ELF][MIPS] Set GP0 value to zero in case of relocatable object generationSimon Atanasyan2016-09-294-8/+24
| | | | | | | | | | LLD does not update relocations addends when generate a relocatable object. That is why we should not write a non-zero GP0 value into the .reginfo and .MIPS.options sections. And we should not accept input object files with non-zero GP0 value because we cannot handle them properly. llvm-svn: 282716
* [ELF][MIPS] Do not use a binary input file in the test case. NFCSimon Atanasyan2016-09-294-22/+37
| | | | llvm-svn: 282715
* [ELF][MIPS] Setup STO_MIPS_PIC flag for PIC symbols when generate a ↵Simon Atanasyan2016-09-295-13/+87
| | | | | | | | | | relocatable object In case of linking PIC and non-PIC code together and generation of a relocatable object, all PIC symbols should have STO_MIPS_PIC flag in the symbol table of the ouput file. llvm-svn: 282714
* [docs] Fix typo in 'How to add a builder'Dylan McKay2016-09-291-1/+1
| | | | llvm-svn: 282713
* Revert "[AVR] Add instruction selection lowering code"Dylan McKay2016-09-293-1954/+2
| | | | | | I accidentally comitted it. llvm-svn: 282712
* [AVR] Add instruction selection lowering codeDylan McKay2016-09-293-2/+1954
| | | | | | | | | | | | Summary: This adds AVRISelLowering.cpp Reviewers: kparzysz, arsenm Subscribers: wdng, beanz, mgorny Differential Revision: https://reviews.llvm.org/D25034 llvm-svn: 282711
* Revert "[PR30341] Alias must point to a definition"Aditya Kumar2016-09-292-25/+8
| | | | | | | | This reverts commit r282679. Ninja check fails, reverting to debug the issue. llvm-svn: 282710
* [ELF] - Fixed crash on invalid input.George Rimar2016-09-293-2/+11
| | | | | | | | | | | | I took the input from https://llvm.org/bugs/show_bug.cgi?id=30540, it was "id_000000,sig_11,src_000000,op_flip1,pos_98" File contains invalid symbol name offset (too large) and lld just crashes, patch fixes the issue. Differential revision: https://reviews.llvm.org/D24970 llvm-svn: 282709
* Don't GC non-alloc mergeable section piecesEugene Leviant2016-09-295-12/+31
| | | | | | Differential revision: https://reviews.llvm.org/D25033 llvm-svn: 282708
* [ELF] - Testcases: remove "invalid-" prefix from inputs located in "invalid" ↵George Rimar2016-09-2912-10/+10
| | | | | | subfolder. NFC. llvm-svn: 282707
* [ELF] - Rename testcase folder from "Invalid" to "invalid". NFC.George Rimar2016-09-2912-0/+0
| | | | llvm-svn: 282706
* [ELF] Change the way we compute file offsets Eugene Leviant2016-09-293-3/+20
| | | | | | | | | | | If we two sections reside in the same PT_LOAD segment, we compute second section using the following formula: Off2 = Off1 + VA2 - VA1. This allows OS kernel allocating sections correctly when loading an image. Differential revision: https://reviews.llvm.org/D25014 llvm-svn: 282705
* [modules] Centralize the module cache.Vassil Vassilev2016-09-291-1/+1
| | | | | | This reduces the build size from 17G to 1.9G on my machine. llvm-svn: 282704
* Revert r282692: Use fallback_malloc to allocate __cxa_eh_globals in case of ↵Igor Kudrin2016-09-297-130/+44
| | | | | | | | dynamic memory exhaustion. The test breaks build bots. llvm-svn: 282703
* XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is setJonas Hahnfeld2016-09-293-0/+8
| | | | | | | | | | Until someone rewrites the stdlib logic for Darwin so that we don't need to pass down the -stdlib argument to cc1. (see https://llvm.org/bugs/show_bug.cgi?id=30548) Differential Revision: https://reviews.llvm.org/D24601 llvm-svn: 282701
* Add symbols introduced with -m32 buildVitaly Buka2016-09-291-0/+3
| | | | llvm-svn: 282695
* Limit script to sanitizers as SCUDO does not pass tests if we add symbolizerVitaly Buka2016-09-291-1/+1
| | | | llvm-svn: 282694
* [X86] Really fix the FileCheck line from r282690.Craig Topper2016-09-291-1/+1
| | | | | | Why does Folded Spill comments print with a different number of # characters on different systems? llvm-svn: 282693
* [libc++abi] Use fallback_malloc to allocate __cxa_eh_globals in case of ↵Igor Kudrin2016-09-297-44/+130
| | | | | | | | | | | | | | dynamic memory exhaustion. Throwing an exception for the first time may lead to call calloc to allocate memory for __cxa_eh_globals. If the memory pool is exhausted at that moment, it results in abnormal termination of the program. This patch addresses the issue by using fallback_malloc in that case. Differential Revision: https://reviews.llvm.org/D17815 llvm-svn: 282692
* [AVX-512] Fix a check line from r282690.Craig Topper2016-09-291-1/+1
| | | | llvm-svn: 282691
* [AVX-512] Support spills of XMM16-31 and YMM16-31 when VLX isn't available.Craig Topper2016-09-293-8/+182
| | | | | | | | This adds new pseudo instructions that can be selected during register allocation to represent loads and stores of XMM/YMM registers when AVX512F is available, but VLX isn't. They will be converted to VEX encoded moves if the register turns out to be XMM0-15/YMM0-15. Otherwise either an EVEX VEXTRACT(store) or VBROADCAST(load) will be used. Fixes one of the cases from PR29112. llvm-svn: 282690
* [X86] Remove extra FileCheck lines that got left behind in r282688.Craig Topper2016-09-291-6/+0
| | | | llvm-svn: 282689
* [AVX-512] Replicate pattern from AVX to select VMOVDDUP for (v2f64 ↵Craig Topper2016-09-292-81/+702
| | | | | | (X86VBroadcast f64:)). Add AVX512VL to command line of existing AVX2 test that hits this condition. llvm-svn: 282688
* [X86] Add EVEX encoded VBROADCASTSS/SD and VPBROADCASTD/Q to execution ↵Craig Topper2016-09-2911-70/+50
| | | | | | domain fixing table. llvm-svn: 282687
* [X86] Remove AddedComplexity adjustments that don't seem to be needed.Craig Topper2016-09-291-6/+4
| | | | llvm-svn: 282686
* [X86] Add 512-bit VPBROADCASTB and VPBROADCASTW tests.Craig Topper2016-09-292-0/+204
| | | | llvm-svn: 282685
* [X86] Add VBROADCASTF128/VBROADCASTI128 to execution domain fixing tables.Craig Topper2016-09-294-100/+57
| | | | llvm-svn: 282684
* Add a unit test for an x86_64 assembly inspection of Jason Molenda2016-09-291-18/+177
| | | | | | | | | | | | | | a large stack frame with lots of spilled registers. While writing the i386 version of this test, it looks like I found a bug in the 32-bit instruction profiler code. I may ned to fix the assembly inspection engine before I can finish writing that test, so I'm only committing the 64-bit one tonight. <rdar://problem/28509178> llvm-svn: 282683
* Move verbose clang binaries detectionVitaly Buka2016-09-291-12/+11
| | | | llvm-svn: 282682
* [libc++] Add missing locale aliasesShoaib Meenai2016-09-291-2/+3
| | | | | | | | | Add underscore aliases for strtof_l and strtod_l. _strtold_l exists in VS 2013 and above, so fix that definition as a drive-by fix. Differential Revision: https://reviews.llvm.org/D25059 llvm-svn: 282681
* IR: Rename the tablegen'd Attributes file to .genJustin Bogner2016-09-292-2/+2
| | | | | | | All of the other tablegen'd include files are named .gen, so it's best to be consistent. llvm-svn: 282680
* [PR30341] Alias must point to a definitionAditya Kumar2016-09-292-8/+25
| | | | | | | | | | | | | Inlining the destructor caused the compiler to generate bad IR which failed the Verifier in the backend. https://llvm.org/bugs/show_bug.cgi?id=30341 This patch disables alias to available_externally definitions. Reviewers: eugenis, rsmith Differential Revision: https://reviews.llvm.org/D24682 llvm-svn: 282679
* Add explanatory comment.Peter Collingbourne2016-09-291-0/+4
| | | | llvm-svn: 282678
* Remove an unnecessary duplicate initialization of TLOF from the MipsEric Christopher2016-09-291-4/+0
| | | | | | | | | | | AsmPrinter. This was reinitializing the Mangler after we moved the Mangler down to TLOF and causing us to have two different unnamed global values accessed with the same name. This should fix the problems on the ubsan tests here: http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/15307 llvm-svn: 282675
OpenPOWER on IntegriCloud