summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix lli after the DebugInfo move.Zachary Turner2015-01-302-2/+2
| | | | llvm-svn: 227594
* Check bit widths before trying to get a type.Filipe Cabecinhas2015-01-303-2/+13
| | | | | | | | | Added a test case for it. Also added run lines for the test case in r227566. Bugs found with afl-fuzz llvm-svn: 227589
* [Hexagon] Adding a number of vector load variants and organizing tests.Colin LeMahieu2015-01-304-17/+173
| | | | llvm-svn: 227588
* Really really don't build llvm-pdbdump on MSVC < 2013.Zachary Turner2015-01-301-0/+2
| | | | | | | I thought it was enough to just not add the tool subdirectory, but apparently I need to explicitly mark it ignore. llvm-svn: 227587
* Move DebugInfo to DebugInfo/DWARF.Zachary Turner2015-01-3070-111/+152
| | | | | | | | | | | | | In preparation for adding PDB support to LLVM, this moves the DWARF parsing code to its own subdirectory under DebugInfo, and renames LLVMDebugInfo to LLVMDebugInfoDWARF. This is purely a mechanical / build system change. Differential Revision: http://reviews.llvm.org/D7269 Reviewed by: Eric Christopher llvm-svn: 227586
* ARM: correct handling of .fpu directiveSaleem Abdulrasool2015-01-302-23/+98
| | | | | | | | | | | | | The FPU directive permits the user to switch the target FPU, enabling instructions that would be otherwise unavailable. However, when configuring the new subtarget features, we would not enable the implied functions for newer FPUs. This would result in invalid rejection of valid input. Ensure that we inherit the implied FPU functionality when enabling newer versions of the FPU. Fortunately, these are mostly hierarchical, unlike the CPUs. Addresses PR22395. llvm-svn: 227584
* tidy up; NFCSanjay Patel2015-01-301-6/+5
| | | | llvm-svn: 227582
* [PM] Sink the population of the pass manager with target-specificChandler Carruth2015-01-303-9/+6
| | | | | | | | | | | | analyses back into the LTO code generator. The pass manager builder (and the transforms library in general) shouldn't be referencing the target machine at all. This makes the LTO population work like the others -- the data layout and target transform info need to be pre-populated. llvm-svn: 227576
* Fix a warning introduced by r227557 due to a default label in a fullyChandler Carruth2015-01-301-1/+0
| | | | | | covering switch. llvm-svn: 227575
* [Cygming] Seek also chkstk_ms, or JIT fails with DLL builds. It is fixup for ↵NAKAMURA Takumi2015-01-306-0/+192
| | | | | | r227519. llvm-svn: 227574
* Regenerate configure since r227090.NAKAMURA Takumi2015-01-301-0/+2
| | | | llvm-svn: 227573
* [mips] Manually replace JAL pseudo-instructions with their JALR equivalent, ↵Toma Tabacu2015-01-303-2/+65
| | | | | | | | | | | | | | | | | | | | | | | | | instead of using InstAlias. Summary: This is needed by the .cprestore assembler directive. This directive needs to be able to insert an LW instruction after every JALR replacement of a JAL pseudo-instruction (and never after a JALR which has NOT been a result of a pseudo-instruction replacement). The problem with using InstAlias for these is that after it replaces the pseudo-instruction, we can't find out if the resulting JALR instruction was generated by an InstAlias or not, so we don't know whether or not to insert our LW instruction. By replacing it manually, we know when the pseudo-instruction replacement happens and we can insert the LW instruction correctly. Reviewers: dsanders Reviewed By: dsanders Subscribers: emaste, llvm-commits Differential Revision: http://reviews.llvm.org/D5601 llvm-svn: 227568
* [bitcode reader] Fix an assert on invalid type tablesFilipe Cabecinhas2015-01-302-1/+3
| | | | | | Bug found with afl-fuzz llvm-svn: 227566
* Introduce llvm/test/LTO/X86. LTO tests may be assumed as target-specific.NAKAMURA Takumi2015-01-3020-0/+0
| | | | llvm-svn: 227564
* Introduce llvm/test/LTO/ARM for arm-specific LTO test(s).NAKAMURA Takumi2015-01-302-0/+2
| | | | llvm-svn: 227563
* Change a very hot piece of code in TableGen's register unit computations to ↵Owen Anderson2015-01-301-1/+14
| | | | | | | | | | | | | | | | use bit vectors rather than arrays. For target descriptions with very large and very dense register files, TableGen can take an extremely long time to run. This change makes a dent in that (~15% in my measurements) by accelerating the single hottest operation with better data structures. I believe there's still a lot of room to make this even faster with more global changes that require replacing some of the existing datastructures in this area with bit vectors, but that's a more involved change and I wanted to get this simpler improvement in first. llvm-svn: 227562
* Move the target specific test case arbitrary-induction-step.ll to ↵Hao Liu2015-01-301-0/+0
| | | | | | test/Transforms/LoopVectorize/AArch64 folder. llvm-svn: 227561
* [LoopVectorize] Induction variables: support arbitrary constant step.Hao Liu2015-01-304-137/+282
| | | | | | | | | | Previously, only -1 and +1 step values are supported for induction variables. This patch extends LV to support arbitrary constant steps. Initial patch by Alexey Volkov. Some bug fixes are added in the following version. Differential Revision: http://reviews.llvm.org/D6051 and http://reviews.llvm.org/D7193 llvm-svn: 227557
* [AArch64]Fix PR21675, a bug about lowering llvm.ctpop.i32. We should noot ↵Hao Liu2015-01-302-11/+23
| | | | | | | | use "DAG.getUNDEF(MVT::v8i8)" to get all zero vector. Patch by Wei-cheng Wang. llvm-svn: 227550
* Use the cached subtarget in PPCFrameLowering.Eric Christopher2015-01-301-13/+12
| | | | llvm-svn: 227548
* Migrate some of PPC away from the use of bare getSubtarget/getSubtargetImpl.Eric Christopher2015-01-302-10/+10
| | | | llvm-svn: 227547
* Migrage PPCRegisterInfo to use the cached subtarget.Eric Christopher2015-01-301-29/+22
| | | | llvm-svn: 227546
* Fix PR22386. The inliner moves static allocas to the entry basic blockAdrian Prantl2015-01-302-0/+149
| | | | | | so we need to move the dbg.declare intrinsics that describe them, too. llvm-svn: 227544
* Migrate a bare getSubtarget call to query the MachineFunctionEric Christopher2015-01-301-3/+3
| | | | | | for the target dependent one. llvm-svn: 227542
* Migrate NVPTXISelLowering to take the subtarget that it's dependentEric Christopher2015-01-303-18/+19
| | | | | | upon as an argument and store/use that in the entire function. llvm-svn: 227541
* Remove unused argument.Eric Christopher2015-01-301-6/+5
| | | | llvm-svn: 227539
* Migrate NVPTXISelDAGToDAG's getSubtarget to a runOnMachineFunctionEric Christopher2015-01-303-52/+56
| | | | | | version. Update NVPTXInstrInfo accordingly. llvm-svn: 227538
* Remove calls to bare getSubtarget and clean up the functionsEric Christopher2015-01-302-11/+9
| | | | | | accordingly. llvm-svn: 227535
* [LTO] Scan all per-function subtargets when collecting runtime library names.Akira Hatanaka2015-01-302-12/+40
| | | | | | | | | | | | accumulateAndSortLibcalls in LTOCodeGenerator.cpp collects names of runtime library functions which are used to identify user-defined functions that should be protected. Previously, this function would only scan the TargetLowering object belonging to the "main" subtarget for the library function names. This commit changes it to scan all per-function subtargets. Differential Revision: http://reviews.llvm.org/D7275 llvm-svn: 227533
* [llvm-lto] Add a line for setting LTOCodeGenerator's CPU string from commandAkira Hatanaka2015-01-301-0/+3
| | | | | | | | line. This is needed for a test case I plan to commit later. llvm-svn: 227532
* Remove a few getSubtarget calls in AArch64 pass manager initialization.Eric Christopher2015-01-301-2/+2
| | | | llvm-svn: 227531
* Clean up some uses of getSubtarget in AArch64.Eric Christopher2015-01-306-23/+12
| | | | llvm-svn: 227530
* This only needs TargetInstrInfo, not the specialized one.Eric Christopher2015-01-301-3/+3
| | | | llvm-svn: 227529
* [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
OpenPOWER on IntegriCloud