summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace llvm::error_code with std::error_code.Rafael Espindola2014-06-1212-33/+33
| | | | llvm-svn: 210776
* [mips][mips64r6] jalx is not available on MIPS32r6/MIPS64r6Daniel Sanders2014-06-123-4/+36
| | | | | | | | | | | | Summary: Depends on D3957 Reviewers: jkolek, zoran.jovanovic, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3958 llvm-svn: 210775
* Allow lowercase messages in this test again.Rafael Espindola2014-06-121-3/+3
| | | | | | I misunderstood where the message was being converted. llvm-svn: 210774
* [mips][mips64r6] Add R_MIPS_PC19_S2Zoran Jovanovic2014-06-127-16/+72
| | | | | | Differential Revision: http://reviews.llvm.org/D3866 llvm-svn: 210773
* Don't import make_error_code into the llvm namespace.Rafael Espindola2014-06-128-12/+12
| | | | llvm-svn: 210772
* [mips] Use MTHC1 when it is available (MIPS32r2 and later) for both FP32 and ↵Daniel Sanders2014-06-129-34/+63
| | | | | | | | | | | | | | | | | | | | | | FP64 Summary: To make this work for both AFGR64 and FGR64 register sets, I've had to make the instruction definition consistent with the white lie (that it reads the lower 32-bits of the register) when they are generated by expandBuildPairF64(). Corrected the definition of hasMips32r2() and hasMips64r2() to include MIPS32r6 and MIPS64r6. Depends on D3956 Reviewers: jkolek, zoran.jovanovic, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3957 llvm-svn: 210771
* [mips][mips64r6] Add bgec and bgeuc instructionsZoran Jovanovic2014-06-126-6/+76
| | | | | | Differential Revision: http://reviews.llvm.org/D4017 llvm-svn: 210770
* [X86] Teach how to dump the name of target node RDTSCP_DAG.Andrea Di Biagio2014-06-121-0/+1
| | | | | | | | | When I originally added node RDTSCP_DAG (r207127) I forgot to add a string name for it in method 'getTargetNodeName'. No functional change intended. llvm-svn: 210769
* Fix msvc unittest build.Rafael Espindola2014-06-122-22/+26
| | | | | | Looks like msvc has an asymmetrical operator ==. llvm-svn: 210768
* A follow-up to r210260: updated a comment. No functional changes.Alexander Kornienko2014-06-121-2/+2
| | | | llvm-svn: 210767
* CMake: don't install the internal config.h headerAlp Toker2014-06-121-0/+1
| | | | | | | Background: http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-June/073707.html llvm-svn: 210766
* Track clang changes from r210764Alp Toker2014-06-121-3/+5
| | | | llvm-svn: 210765
* DiagnosticsEngine: update severity setters to new terminologyAlp Toker2014-06-126-27/+23
| | | | llvm-svn: 210764
* [mips][mips64r6] madd.[ds], msub.[ds], nmadd.[ds], and nmsub.[ds] are not ↵Daniel Sanders2014-06-125-45/+322
| | | | | | | | | | | | | | | | | | | | available on MIPS32r6/MIPS64r6 Summary: This patch updates both the assembler and the code generator. MIPS32r6/MIPS64r6 replaces them with maddf.[ds] and msubf.[ds] which are fused multiply-add/sub operations. We don't emit these yet, this patch only prevents the removed instructions from being emitted. Depends on D3955 Reviewers: jkolek, zoran.jovanovic, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3956 llvm-svn: 210763
* [mips][mips64r6] madd/maddu/msub/msubu are not available on MIPS32r6/MIPS64r6Daniel Sanders2014-06-126-26/+261
| | | | | | | | | | | | | | | | Summary: This patch disables madd/maddu/msub/msubu in both the assembler and code generator. Depends on D3896 Reviewers: jkolek, zoran.jovanovic, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3955 llvm-svn: 210762
* [X86] Teach how to combine AVX and AVX2 horizontal binop on packed 256-bit ↵Andrea Di Biagio2014-06-122-9/+380
| | | | | | | | | | | vectors. This patch adds target combine rules to match: - [AVX] Horizontal add/sub of packed single/double precision floating point values from 256-bit vectors; - [AVX2] Horizontal add/sub of packed integer values from 256-bit vectors. llvm-svn: 210761
* [mips][mips64r6] Replace m[tf]hi, m[tf]lo, mult, multu, dmult, dmultu, div, ↵Daniel Sanders2014-06-1216-102/+518
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ddiv, divu, ddivu for MIPS32r6/MIPS64. Summary: The accumulator-based (HI/LO) multiplies and divides from earlier ISA's have been removed and replaced with GPR-based equivalents. For example: div $1, $2 mflo $3 is now: div $3, $1, $2 This patch disables the accumulator-based multiplies and divides for MIPS32r6/MIPS64r6 and uses the GPR-based equivalents instead. Renamed expandPseudoDiv to insertDivByZeroTrap to better describe the behaviour of the function. MipsDelaySlotFiller now invalidates the liveness information when moving instructions to the delay slot. Without this, divrem.ll will abort since %GP ends up used before it is defined. Reviewers: vmedic, zoran.jovanovic, jkolek Reviewed By: jkolek Differential Revision: http://reviews.llvm.org/D3896 llvm-svn: 210760
* Track clang changes from r210758Alp Toker2014-06-121-1/+1
| | | | llvm-svn: 210759
* Complete the switch from mappings to declarative diagnostic severitiesAlp Toker2014-06-1211-121/+128
| | | | | | | | | This begins to address cognitive dissonance caused by treating the Note diagnostic level as a severity in the diagnostic engine. No change in functionality. llvm-svn: 210758
* [mips] Move CHECK lines to the same line as the instruction it's testingMatheus Almeida2014-06-122-8/+4
| | | | | | | | for consistency with the other tests. No functional changes. llvm-svn: 210757
* R600/SI: Use a register set to -1 for data0 on ds_inc*/ds_dec*Matt Arsenault2014-06-124-47/+51
| | | | | | | There is not such thing as a 0-data ds instruction, and the data operand needs to be a vgpr set to something meaningful. llvm-svn: 210756
* Do not use namespace polly inside a header.Andreas Simbuerger2014-06-122-27/+26
| | | | | | | | | | | | | | | | In general this fixes ambiguity that can arise from using a different namespace that declares the same symbols as we do. One example inside llvm would be: createIndVarSimplifyPass(..); Which can be found in: llvm/Transforms/Scalar.h and polly/LinkAllPasses.h llvm-svn: 210755
* Fix typoAndreas Simbuerger2014-06-121-1/+1
| | | | llvm-svn: 210754
* Check for an empty error log.Andreas Simbuerger2014-06-121-1/+8
| | | | | | | | | | | | | | Fixes #19976. The error log does not contain an error, in case we reject a candidate without generating a diagnostic message by using invalid<>(...). This is the case for the top-level region of a function. The patch comes without a test-case because adding a useful one requires additional code just for triggering it. Before the patch it would only trigger, if we try to print the CFG with Scop error annotations. llvm-svn: 210753
* Move getDebugLocation to ScopDetectionDiagnosticAndreas Simbuerger2014-06-124-32/+36
| | | | llvm-svn: 210752
* Use StringRef to simplify code. No functional change.Craig Topper2014-06-125-35/+26
| | | | llvm-svn: 210751
* Use ArrayRef in some function parameters instead of a pointer and count. No ↵Craig Topper2014-06-125-34/+26
| | | | | | functional change. llvm-svn: 210750
* Avoid in-class initializer from r210747Alp Toker2014-06-121-1/+2
| | | | | | Turns out MSVC doesn't like this. Sorry for the noise! llvm-svn: 210749
* Avoid anonymous namespace in header from r210747Alp Toker2014-06-121-13/+11
| | | | llvm-svn: 210748
* Avoid redundant allocations in the linker optimisation hintAlp Toker2014-06-121-2/+14
| | | | llvm-svn: 210747
* [FastISel][x86] Add testcase for r210719.Juergen Ributzka2014-06-121-0/+24
| | | | llvm-svn: 210746
* Add a std:: prefix in cases where ADL would have failed on windows.Rafael Espindola2014-06-121-8/+8
| | | | | | This is in preparation for removing make_error_code from the llvm namespace. llvm-svn: 210745
* Fix typo.Rafael Espindola2014-06-122-3/+3
| | | | | | Thanks to Alp Toker for noticing. llvm-svn: 210744
* [x86] Improve frameaddress test from r210709.Juergen Ributzka2014-06-121-10/+27
| | | | llvm-svn: 210743
* [FastISel] Add support for the stackmap intrinsic.Juergen Ributzka2014-06-123-0/+271
| | | | | | This implements target-independent FastISel lowering for the stackmap intrinsic. llvm-svn: 210742
* Don't use make_error_code from the llvm namespace.Rafael Espindola2014-06-125-16/+16
| | | | llvm-svn: 210741
* Prefix generic_category with std::.Rafael Espindola2014-06-121-2/+2
| | | | | | Sorry I missed these before. llvm-svn: 210740
* Give clang-format its own error category.Rafael Espindola2014-06-124-34/+67
| | | | | | | | | The posix errno values are probably to the best thing to use for describing parse errors. This should also fix the mingw build. llvm-svn: 210739
* Driver: use more range-based for loopsSaleem Abdulrasool2014-06-121-145/+67
| | | | | | | Mechanical change converting some of the simpler for loops into range-based for loops. NFC. llvm-svn: 210738
* Don't put generic_category in the llvm namespace.Rafael Espindola2014-06-126-31/+30
| | | | llvm-svn: 210737
* Use generic_category from the std namespace.Rafael Espindola2014-06-121-1/+1
| | | | llvm-svn: 210736
* Use generic_category from the std namespace.Rafael Espindola2014-06-121-5/+5
| | | | llvm-svn: 210735
* Fix verifier for GlobalAliases to avoid recursing into global initializers.Bob Wilson2014-06-122-0/+8
| | | | | | | | | | | The verifier follows GlobalAlias operands so that it can detect cycles of alias definitions. It was doing this in a way that caused it to also recurse through initializers for the GlobalValue aliasees, and it would fail when an initializer refers to a global that is a declaration and not a definition. This patch causes it to stop recursing when it hits a global definition. <rdar://problem/17277451> llvm-svn: 210734
* Don't import error_category into the llvm namespace.Rafael Espindola2014-06-1211-16/+15
| | | | llvm-svn: 210733
* Use error_category from the std namespace.Rafael Espindola2014-06-122-16/+16
| | | | llvm-svn: 210732
* Don't import error_condition into the llvm namespace.Rafael Espindola2014-06-125-12/+17
| | | | llvm-svn: 210731
* Use error_condition from the std namespace.Rafael Espindola2014-06-121-10/+10
| | | | llvm-svn: 210730
* Used mapWindowsError. I missed these in the initial transition.Rafael Espindola2014-06-121-3/+4
| | | | llvm-svn: 210729
* Remove some low hanging fruit from system_error.hRafael Espindola2014-06-122-10/+9
| | | | llvm-svn: 210728
* Errno should use generic_category.Rafael Espindola2014-06-121-1/+1
| | | | | | Sorry, no testcase, just noticed while trying to remove llvm's system_error.h llvm-svn: 210727
OpenPOWER on IntegriCloud