summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Remove the default constructor and count variable from the Mangler sinceEric Christopher2016-09-292-6/+1
| | | | | | we can just use the size of the DenseMap as a unique counter. llvm-svn: 282674
* Update comment about initializing TLOF with a pointer at the previousEric Christopher2016-09-291-1/+3
| | | | | | line or the other commented out place. llvm-svn: 282673
* Tidy spelling and grammar.Eric Christopher2016-09-291-1/+1
| | | | llvm-svn: 282672
* [AArch64] Fix test case ELF/aarch64-tls-le.sLei Liu2016-09-291-1/+1
| | | | | | | The add instruction should be generated with shift bit (lsl #12). Update the test case. llvm-svn: 282671
* Attempt to fix Windows buildbots.Rui Ueyama2016-09-291-0/+2
| | | | llvm-svn: 282670
* MachineFunction: Add missing newline in debug print()Matthias Braun2016-09-291-0/+1
| | | | | | Should not be a functional but an aesthetic change. llvm-svn: 282669
* Remove unused #includes.Rui Ueyama2016-09-294-25/+3
| | | | llvm-svn: 282668
* AMDGPU: Partially fix control flow at -O0Matt Arsenault2016-09-299-21/+1477
| | | | | | | | | | | | | | | Fixes to allow spilling all registers at the end of the block work with exec modifications. Don't emit s_and_saveexec_b64 for if lowering, and instead emit copies. Mark control flow mask instructions as terminators to get correct spill code placement with fast regalloc, and then have a separate optimization pass form the saveexec. This should work if SGPRs are spilled to VGPRs, but will likely fail in the case that an SGPR spills to memory and no workitem takes a divergent branch. llvm-svn: 282667
* ScheduleDAGInstrs: There is no need to set OrigNode for MI SUnits; NFCMatthias Braun2016-09-291-1/+0
| | | | llvm-svn: 282666
* LTO: Fix use-after-scope error.Peter Collingbourne2016-09-291-0/+1
| | | | llvm-svn: 282665
* Add comments.Rui Ueyama2016-09-291-0/+14
| | | | llvm-svn: 282664
* Read addend from the correct location.Rafael Espindola2016-09-292-1/+27
| | | | llvm-svn: 282663
* [LTO] Fully qualify make_unique to make MSVC happy.Davide Italiano2016-09-291-1/+1
| | | | llvm-svn: 282662
* AArch64: Set shift bit of TLSLE HI12 add instructionLei Liu2016-09-292-0/+20
| | | | | | | | | | | | Summary: AArch64 LLVM assembler emits add instruction without shift bit to calculate the higher 12-bit address of TLS variables in local exec model. This generates wrong code sequence to access TLS variables with thread offset larger than 0x1000. Reviewers: t.p.northover, peter.smith, rovka Subscribers: salim.nasser, aemerson, llvm-commits, rengolin Differential Revision: https://reviews.llvm.org/D24702 llvm-svn: 282661
* Partially revert overflow checking in last_write_timeEric Fiselier2016-09-291-5/+7
| | | | llvm-svn: 282660
* Re-commit the changes from r282565 that I had to back out because of Jason Molenda2016-09-2910-1197/+1686
| | | | | | | | | | | | | | a linux bot test failure. That one is fixed; hopefully there won't be any others turned up this time. The eh_frame augmentation code wasn't working right after the reorg/rewrite of the classes. It works correctly now for the one test that was failing - but we'll see what the test bots come up with. <rdar://problem/28509178> llvm-svn: 282659
* Use InputFile::Symbol instead of auto for consistency.Rui Ueyama2016-09-291-6/+4
| | | | llvm-svn: 282658
* Fixed TestObjCStructArgument/i386; expressions can now call ObjC class methods.Sean Callanan2016-09-292-1/+209
| | | | | | <rdar://problem/28502241> llvm-svn: 282657
* [ELF/LTO] Switch to the new resolution-based API.Davide Italiano2016-09-2934-411/+191
| | | | | | Differential Revision: https://reviews.llvm.org/D24492 llvm-svn: 282656
* [LTO] Add a FIXME, we shouldn't expose getComdat().Davide Italiano2016-09-291-0/+3
| | | | | | Thanks to Peter for the suggestion. llvm-svn: 282655
OpenPOWER on IntegriCloud