summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* [PM] Remove two very old and dead forward declarations for the priorChandler Carruth2015-01-301-2/+0
| | | | | | | | | incarnation of target transform info. This is in preparation for starting to redesign TTI to be amenable to the new PM world. llvm-svn: 227525
* Updating iOS.cmake to work with the latest Xcode and iOS 8 SDK.Chris Bieneman2015-01-301-4/+22
| | | | llvm-svn: 227523
* iOS doesn't have histedit.h available. We should gate use of libedit on ↵Chris Bieneman2015-01-301-1/+4
| | | | | | whether or not this headers exists. llvm-svn: 227522
* iOS doesn't have crt_externs.h available, so we fall back to the posix method.Chris Bieneman2015-01-301-2/+5
| | | | llvm-svn: 227521
* x86: Remove unused variables not caught by MSVC =PReid Kleckner2015-01-302-3/+0
| | | | llvm-svn: 227520
* x86: Fix large model calls to __chkstk for dynamic allocasReid Kleckner2015-01-295-87/+84
| | | | | | | | | | | | In the large code model, we now put __chkstk in %r11 before calling it. Refactor the code so that we only do this once. Simplify things by using __chkstk_ms instead of __chkstk on cygming. We already use that symbol in the prolog emission, and it simplifies our logic. Second half of PR18582. llvm-svn: 227519
* Remove unnecessary calls to getSubtarget/getSubtargetImpl from theEric Christopher2015-01-292-10/+3
| | | | | | MSP430 backend. llvm-svn: 227517
* Remove unused header.Eric Christopher2015-01-291-1/+0
| | | | llvm-svn: 227516
* Change SmallVector param to the more general ArrayRef; NFCISanjay Patel2015-01-291-1/+1
| | | | llvm-svn: 227514
* Get rid of a few calls through the subtarget to get the ABIEric Christopher2015-01-293-15/+15
| | | | | | that's actually sitting on the target machine. llvm-svn: 227513
* Remove most of the TargetMachine::getSubtarget/getSubtargetImplEric Christopher2015-01-2920-309/+196
| | | | | | | | | calls that don't take a Function argument from Mips. Notable exceptions: the AsmPrinter and MipsTargetObjectFile. The latter needs to be fixed, and the former will be fixed when the general AsmPrinter changes happen. llvm-svn: 227512
* [LPM] Remove a PPC64 hack to try to work around a bad interactionChandler Carruth2015-01-291-9/+2
| | | | | | | | | | | between the linker's TLS optimizations and Clang's TLS code generation. For now, Clang has been changed to disable linker TLS optimizations until it (and LLVM more generally) are emitting TLS code sequences compatible with the old bugs found in the linkers. That's a better fix to handle bootstrapping on that platform. llvm-svn: 227511
* x86: Remove the W64ALLOCA pseudoReid Kleckner2015-01-293-15/+3
| | | | | | | | | This is just an alias for CALL64pcrel32, and we can just use that opcode with explicit defs in the MI. No functionality change. llvm-svn: 227508
* [fuzzer] add -use_full_coverage_set=1 which solves FullCoverageSetTest. This ↵Kostya Serebryany2015-01-298-2/+52
| | | | | | does not scale very well yet, but might be a good start. llvm-svn: 227507
* [AArch64] Add INITIALIZE_PASS macros to AArch64A57FPLoadBalancing.Chad Rosier2015-01-291-1/+15
| | | | | | | | | | These are needed so this pass will produce output when e.g. -print-after-all is used. Phabricator Review: http://reviews.llvm.org/D7264 Patch by Geoff Berry <gberry@codeaurora.org>! llvm-svn: 227506
* Update comments to use unreachable instead of llvm.trap, as implemented nowReid Kleckner2015-01-294-12/+35
| | | | | | | | | | | | | win64: Call __chkstk through a register with the large code model Fixes half of PR18582. True dynamic allocas will still have a CALL64pcrel32 which will fail. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D7267 llvm-svn: 227503
* Update comments to use unreachable instead of llvm.trap, as implemented nowReid Kleckner2015-01-291-1/+1
| | | | llvm-svn: 227502
* [LoopReroll] Alter the data structures used during reroll validation.James Molloy2015-01-291-159/+207
| | | | | | | | | | | | | | | The validation algorithm used an incremental approach, building each iteration's data structures temporarily, validating them, then adding them to a global set. This does not scale well to having multiple sets of Root nodes, as the set of instructions used in each iteration is the union over all the root nodes. Therefore, refactor the logic to create a single, simple container to which later logic then refers. This makes it simpler control-flow wise to make the creation of the container more complex with the addition of multiple root sets. llvm-svn: 227499
* [Hexagon] Organizing tests and adding a few missing jump instruction encodings.Colin LeMahieu2015-01-297-11/+101
| | | | llvm-svn: 227498
* [Hexagon] Adding missing instruction encodings and tests.Colin LeMahieu2015-01-294-43/+162
| | | | llvm-svn: 227495
* [Hexagon] Adding alu vector instructionsColin LeMahieu2015-01-293-3/+217
| | | | llvm-svn: 227493
* [GVN] don't propagate equality comparisons of FP zero (PR22376)Sanjay Patel2015-01-292-9/+52
| | | | | | | | | | | | | | In http://reviews.llvm.org/D6911, we allowed GVN to propagate FP equalities to allow some simple value range optimizations. But that introduced a bug when comparing to -0.0 or 0.0: these compare equal even though they are not bitwise identical. This patch disallows propagating zero constants in equality comparisons. Fixes: http://llvm.org/bugs/show_bug.cgi?id=22376 Differential Revision: http://reviews.llvm.org/D7257 llvm-svn: 227491
* All signal handlers are required to have C language linkage in C++. This ↵Aaron Ballman2015-01-291-1/+1
| | | | | | does not fix all signal handlers, but does fix the most recent one. llvm-svn: 227490
* Add missing test from r227488David Blaikie2015-01-291-0/+1
| | | | llvm-svn: 227489
* Matching ARM change for r227481: DebugInfo: Teach Fast ISel to respect the ↵David Blaikie2015-01-291-7/+7
| | | | | | debug location of comparisons in jumps. llvm-svn: 227488
* Refactor test to be reused across architecturesDavid Blaikie2015-01-292-3/+2
| | | | llvm-svn: 227487
* Remove erroneous REQUIRES: object-emission for asm test.David Blaikie2015-01-291-2/+0
| | | | llvm-svn: 227486
* Missing test case for r227481David Blaikie2015-01-291-0/+59
| | | | llvm-svn: 227485
* R600/SI: Implement enableAggressiveFMAFusionMatt Arsenault2015-01-293-1/+399
| | | | | | | | | Add tests for the various combines. This should always be at least cycle neutral on all subtargets for f64, and faster on some. For f32 we should prefer selecting v_mad_f32 over v_fma_f32. llvm-svn: 227484
* R600/SI: Add subtarget feature for if f32 fma is fastMatt Arsenault2015-01-295-5/+23
| | | | llvm-svn: 227483
* R600/SI: Fix tonga's basic scheduling modelMatt Arsenault2015-01-291-1/+1
| | | | llvm-svn: 227482
* DebugInfo: Teach Fast ISel to respect the debug location of comparisons in jumpsDavid Blaikie2015-01-291-9/+9
| | | | | | | | | The use of the DbgLoc in FastISel is probably something we should fix. It's prone to leaking the wrong location into instructions - we should have a clear chain of custody from the debug location of an IR Instruction to that of a MachineInstr to avoid such leakage. llvm-svn: 227481
* Disable compilation of llvm-pdbdump for versions of MSVC < 2013.Zachary Turner2015-01-291-1/+4
| | | | | | | | | Certain aspects of llvm-pdbdump require language support only present in MSVC 2013 and higher. Since this is strictly a utility, and since we hope to drop support for MSVC 2012 soon, don't build this unless MSVC 2013 or higher. llvm-svn: 227479
* [fuzzer] fix warning in a test Kostya Serebryany2015-01-291-2/+0
| | | | llvm-svn: 227478
* Compute the ELF SectionKind from the flags.Rafael Espindola2015-01-2921-393/+198
| | | | | | | | | | | | Any code creating an MCSectionELF knows ELF and already provides the flags. SectionKind is an abstraction used by common code that uses a plain MCSection. Use the flags to compute the SectionKind. This removes a lot of guessing and boilerplate from the MCSectionELF construction. llvm-svn: 227476
* [Hexagon] Deleting old variants of intrinsics and adding missing tests.Colin LeMahieu2015-01-296-196/+155
| | | | llvm-svn: 227474
* [lto] Disable dialog boxes on crash on Windows.Michael J. Spencer2015-01-291-0/+7
| | | | | | This has to be done in the DLL because the state doesn't cross DLL boundaries. llvm-svn: 227471
* [Support][Windows] Unify dialog box suppression and print stack traces on abort.Michael J. Spencer2015-01-293-20/+33
| | | | llvm-svn: 227470
* [fuzzer] minor cleanup based on reviews: remove redundant includes, fix a ↵Kostya Serebryany2015-01-293-4/+2
| | | | | | copy-pasto in tests llvm-svn: 227468
* [fuzzer] add FAQ section to the README.txt Kostya Serebryany2015-01-291-1/+43
| | | | llvm-svn: 227466
* Reverting r227452, which adds back the fuzzer library. Now excluding the ↵Aaron Ballman2015-01-2921-0/+903
| | | | | | fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset. llvm-svn: 227464
* [Hexagon] Adding CR intrinsic tests.Colin LeMahieu2015-01-292-0/+102
| | | | llvm-svn: 227463
* R600/SI: Remove stray debug statementsTom Stellard2015-01-291-5/+1
| | | | llvm-svn: 227462
* R600/SI: Define a schedule model and enable the generic machine schedulerTom Stellard2015-01-2932-110/+185
| | | | | | The schedule model is not complete yet, and could be improved. llvm-svn: 227461
* [Hexagon] Deleting unused classes.Colin LeMahieu2015-01-291-1319/+0
| | | | llvm-svn: 227460
* Oops -- accidentally commit some debug code! Removing that code; NFC (this ↵Aaron Ballman2015-01-291-3/+1
| | | | | | time for real). llvm-svn: 227459
* [X86] Use single add/sub for large stack offsetsRobert Lougher2015-01-292-13/+105
| | | | | | | | | | | For large stack offsets the compiler generates multiple immediate mode sub/add instructions in the prologue/epilogue. This patch makes the compiler place the final amount to be added/subtracted into a register, which is then added/substracted with a single operation. Differential Revision: http://reviews.llvm.org/D7226 llvm-svn: 227458
* [Hexagon] Adding XTYPE/PRED intrinsic tests. Converting predicate types to ↵Colin LeMahieu2015-01-297-158/+393
| | | | | | i32 instead of i1. llvm-svn: 227457
* Attempting to fix a build issue with MSVC 2012; NFCAaron Ballman2015-01-291-3/+5
| | | | llvm-svn: 227456
* [PowerPC] Complete setting the baseline for ppc64leBill Schmidt2015-01-292-2/+10
| | | | | | | | | | | | Patch by Nemanja Ivanovic. As was uncovered by the failing test case (when run on non-PPC platforms), the feature set when compiling with -march=ppc64le was not being picked up. This change ensures that if the -mcpu option is not specified, the correct feature set is picked up regardless of whether we are on PPC or not. llvm-svn: 227455
OpenPOWER on IntegriCloud