summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removing a switch statement that contains only a default label; NFC.Aaron Ballman2016-05-231-3/+1
| | | | llvm-svn: 270444
* Do not propagate section name and attributes to .eh_frame.Rui Ueyama2016-05-237-10/+10
| | | | | | | | .eh_frame is always ".eh_frame" and its attribute is fixed. No need to copy from inputs to outputs. GNU gold also sets SHT_PROGBITS. llvm-svn: 270443
* Rename EHOutputSection -> EhOutputSection for consistency.Rui Ueyama2016-05-233-20/+20
| | | | llvm-svn: 270442
* [clang][AVX512][Builtin] adding missing intrinsics for ↵Michael Zuckerman2016-05-235-4/+151
| | | | | | | | vpmultishiftqb{128|256|512} instruction set . Differential Revision: http://reviews.llvm.org/D20521 llvm-svn: 270441
* [BPF] Remove exit-on-error flag in test (PR27766)Diana Picus2016-05-233-5/+11
| | | | | | | | | | | | | | The exit-on-error flag on the many_args1.ll test is needed to avoid an unreachable in BPFTargetLowering::LowerCall. We can also avoid it by ignoring any superfluous arguments to the call (i.e. any arguments after the first 5). Fixes PR27766. Differential Revision: http://reviews.llvm.org/D20471 v2 of r270419 llvm-svn: 270440
* [ScopInfo] Remove unused typedef OutgoingValueMapTy. NFC.Michael Kruse2016-05-231-2/+0
| | | | llvm-svn: 270439
* [ScopInfo] Change removeMemoryAccesses to remove only one access. NFC.Michael Kruse2016-05-232-16/+14
| | | | | | | This exposes the more basic operation for use by code not related to invariant code hoisting. llvm-svn: 270438
* [X86][RTM] _xabort() should not have "noreturn" attributeAsaf Badouh2016-05-232-3/+17
| | | | | | Differential Revision: http://reviews.llvm.org/D20518 llvm-svn: 270437
* [InlineAsm] Avoid creating extra string instances in ConstraintInfo::Parse()Alexander Potapenko2016-05-231-4/+4
| | | | | | | Don't create unnecessary std::string objects when pushing back to |pCodes|. NFC. llvm-svn: 270436
* Test commitJacob Baungard Hansen2016-05-231-0/+1
| | | | llvm-svn: 270435
* [X86][AVX] Added tests that access ymm registers before and after explicit ↵Simon Pilgrim2016-05-231-6/+60
| | | | | | vzeroupper/vzeroall calls llvm-svn: 270434
* Reverts "[BPF] Remove exit-on-error flag in test (PR27766)"Renato Golin2016-05-233-9/+5
| | | | | | | | This patch reverts r270419 because it broke a lot of buildbots, mostly Windows. We'd like help in investigating the issues, but for now, it should stay out. llvm-svn: 270433
* Remove some unused local variables. NFC.Michael Kruse2016-05-232-19/+0
| | | | | | | Found by clang static analyzer (http://llvm.org/reports/scan-build/) and Visual Studio. llvm-svn: 270432
* [X86][SSE] Regenerated scalar load folding testsSimon Pilgrim2016-05-231-22/+46
| | | | llvm-svn: 270431
* [X86][SSE] Regenerated partial register update testsSimon Pilgrim2016-05-231-38/+46
| | | | llvm-svn: 270430
* Use the SCoP directly for canSynthesize [NFC]Johannes Doerfert2016-05-235-13/+13
| | | | llvm-svn: 270429
* Simplify ScopInfo function interfaces [NFC]Johannes Doerfert2016-05-232-52/+43
| | | | llvm-svn: 270428
* Allow to check for dominance wrt. a SCoP [NFC]Johannes Doerfert2016-05-232-1/+8
| | | | llvm-svn: 270427
* Duplicate part of the Region interface in the Scop class [NFC]Johannes Doerfert2016-05-237-37/+49
| | | | | | | This allows to use the SCoP directly for various queries, thus to hide the underlying region more often. llvm-svn: 270426
* [X86][SSE] Updated sse/avx cvtsi2sd tests to use non-constant valueSimon Pilgrim2016-05-232-14/+10
| | | | llvm-svn: 270425
* Add and use Scop::contains(Loop/BasicBlock/Instruction) [NFC]Johannes Doerfert2016-05-235-28/+34
| | | | llvm-svn: 270424
* [X86][SSE2] Regenerated sse2 upgraded intrinsics testsSimon Pilgrim2016-05-231-5/+18
| | | | llvm-svn: 270423
* [X86][AVX] Regenerated avx upgraded intrinsics testsSimon Pilgrim2016-05-231-41/+77
| | | | llvm-svn: 270422
* Directly access information through the Scop class [NFC]Johannes Doerfert2016-05-238-32/+26
| | | | llvm-svn: 270421
* Add missing doxygen comments [NFC]Johannes Doerfert2016-05-231-0/+3
| | | | llvm-svn: 270420
* [BPF] Remove exit-on-error flag in test (PR27766)Diana Picus2016-05-233-5/+9
| | | | | | | | | | The exit-on-error flag on the many_args1.ll test is needed to avoid an unreachable in BPFTargetLowering::LowerCall. We can also avoid it by ignoring any superfluous arguments to the call (i.e. any arguments after the first 5). Fixes PR27766 llvm-svn: 270419
* [Sparc] LEON erratum fix - Delay Slot Filler modification.Chris Dewhurst2016-05-231-0/+9
| | | | | | This code should have been with the previous check-in (r270417) and prevents the DelaySlotFiller pass being utilized in functions where the erratum fix has been applied as this will break the run-time code. llvm-svn: 270418
* [Sparc][LEON] LEON Erratum fix. Insert NOP after LD or LDF instruction.Chris Dewhurst2016-05-2311-9/+195
| | | | | | | | | | Due to an erratum in some versions of LEON, we must insert a NOP after any LD or LDF instruction to ensure the processor has time to load the value correctly before using it. This pass will implement that erratum fix. The code will have no effect for other Sparc, but non-LEON processors. Differential Review: http://reviews.llvm.org/D20353 llvm-svn: 270417
* Optimistic assume required invariant loads to be invariantJohannes Doerfert2016-05-237-45/+306
| | | | | | | | | Before this patch we bailed if a required invariant load was potentially overwritten. However, now we will optimistically assume it is actually invariant and, to this end, restrict the valid parameter space as well as the execution context with regards to potential overwrites of the location. llvm-svn: 270416
* [AMDGPU] Assembler: refactor parsing of modifiers and immediates. Allow ↵Sam Kolton2016-05-2311-239/+306
| | | | | | | | | | | | modifiers for imms. Reviewers: nhaustov, tstellarAMD Subscribers: kzhuravl, arsenm Differential Revision: http://reviews.llvm.org/D20166 llvm-svn: 270415
* Test commitJacob Baungard Hansen2016-05-231-1/+0
| | | | llvm-svn: 270414
* [SCCP] Update comment to reflect reality.Davide Italiano2016-05-231-1/+1
| | | | llvm-svn: 270413
* [FIX] Require base pointers of loads that might alias to be hoistedJohannes Doerfert2016-05-233-19/+106
| | | | | | | | | | | Since the base pointer of a possibly aliasing pointer might not alias with any other pointer it (the base pointer) might not be tagged as "required invariant". However, we need it do be in order to compare the accessed addresses of the derived (possibly aliasing) pointer. This patch also tries to clean up the load hoisting a little bit. llvm-svn: 270412
* Simplify BlockGenerator::handleOutsideUsers interface [NFC]Johannes Doerfert2016-05-232-8/+6
| | | | llvm-svn: 270411
* Make the detection context non-constant [NFC]Johannes Doerfert2016-05-234-5/+5
| | | | llvm-svn: 270410
* [FIX] Let ScalarEvolution forget hoisted valuesJohannes Doerfert2016-05-232-0/+64
| | | | | | | We have to rethink the handling of escaping values in order to make this kind of "fixes" go away. llvm-svn: 270409
* [FIX] Synthezise Sdiv/Srem/Udiv instructions correctly.Johannes Doerfert2016-05-233-31/+77
| | | | | | | This patch simplifies the Sdiv/Srem/Udiv expansion and thereby prevents errors, e.g., regarding the insertion point. llvm-svn: 270408
* [Clang][AVX512][BUILTIN]adding missing intrinsics for movdaq instruction setMichael Zuckerman2016-05-235-0/+153
| | | | | | Differential Revision: http://reviews.llvm.org/D20514 llvm-svn: 270401
* Enable use of sigaltstack for signal handlers when available. With this,Richard Smith2016-05-231-1/+1
| | | | | | | backtraces from the signal handler on stack overflow now work reliably (on my system at least...). llvm-svn: 270395
* [X86] Use instruction aliases to replace custom asm parser code for ↵Craig Topper2016-05-233-51/+53
| | | | | | optimizing moves to use 2 byte VEX prefix. llvm-svn: 270394
* Refactor EhFrameHdr.Rui Ueyama2016-05-233-67/+69
| | | | | | | | | | | | | Previously, EhFrameHdr section computed addresses to which FDEs are applied to. This is not an ideal design because EhFrameHdr does not know much about FDEs unless EhFrame passes the information to EhFrameHdr. It is what we did. This patch simplifies the code by making EhFrame to compute the values and pass the cooked information to EhFrameHdr. EhFrameHdr no longer have to know about the details of FDEs such as FDE encodings. llvm-svn: 270393
* Driver: support exherbo's multiarch supportSaleem Abdulrasool2016-05-233-49/+82
| | | | | | | | Exherbo has an alternative file system layout to accommodate multiarch. The loader is located at /usr/${triple}/lib/${loader}. Adjust the Linux toolchain to support that on exherbo. llvm-svn: 270392
* Fix typo in documentation comment.Bob Wilson2016-05-231-1/+1
| | | | llvm-svn: 270391
* Add comment.Rui Ueyama2016-05-231-0/+4
| | | | llvm-svn: 270390
* Revert "Modify emitTypeInformation to use MemoryTypeTableBuilder"David Majnemer2016-05-232-19/+42
| | | | | | | This reverts commit r270106. It results in certain function types omitted in the output. llvm-svn: 270389
* Simplify. NFC.Rui Ueyama2016-05-231-5/+5
| | | | llvm-svn: 270388
* Make file-local function file-local. NFC.Rui Ueyama2016-05-231-3/+4
| | | | llvm-svn: 270387
* Split MergeInputSection's ctor. NFC.Rui Ueyama2016-05-231-21/+34
| | | | llvm-svn: 270386
* Move splitInputSection from EHOutputSection to EHInputSection.Rui Ueyama2016-05-223-36/+34
| | | | llvm-svn: 270385
* Attempt to unbreak buildbots.Rui Ueyama2016-05-222-9/+9
| | | | | | | | My last commit made Clang to fail with an assertion failure. https://llvm.org/bugs/show_bug.cgi?id=27835 This is a patch to avoid that. llvm-svn: 270384
OpenPOWER on IntegriCloud