summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [PECOFF] Emit PE32+ file header.Rui Ueyama2014-01-263-24/+123
| | | | llvm-svn: 200128
* [Sparc] Add support for parsing DW_CFA_GNU_window_save. Venkatraman Govindaraju2014-01-264-0/+112
| | | | llvm-svn: 200127
* Identify two more unsafe uses of getCustomDiagID()Alp Toker2014-01-261-0/+4
| | | | llvm-svn: 200126
* Remove buggy example code from the documentationAlp Toker2014-01-261-62/+2
| | | | | | | | | | | Instead point readers to the latest, correct example code in SVN until we find a way to automatically include example sources into the documentation (or until someone steps up to maintain these actively). This ensures that the examples are up-to-date, buildable, and most of all that readers don't pick up incorrect usage. llvm-svn: 200125
* ARCMigrate: Introduce proper diagnostics for TransformActionsAlp Toker2014-01-267-69/+50
| | | | | | | | | | | | | | | This starts to switch ARCMT to use proper diagnostic messages. The old use was based on incorrect example code from the documentation. The logic of the previous report() functions has been retained to support any external consumers that might be intercepting diagnostic messages through the old interface. Note that the change in test/Misc/warning-flags.c isn't a new warning without a flag, rather one that was previously invisible to the test. Adding a flag might be a good idea though. llvm-svn: 200124
* Remove flawed diagnostic mapping functionsAlp Toker2014-01-262-45/+0
| | | | | | | These haven't been usable since the early return was accidentally removed some years ago causing all cases to fall through to the !Enabled condition. llvm-svn: 200123
* Convert some easy uses of EmitRawText to TargetStreamer methods.Rafael Espindola2014-01-263-12/+97
| | | | llvm-svn: 200122
* COFF: Add a missing enum value for high entropy ASLR.Rui Ueyama2014-01-263-0/+5
| | | | | | | | | That bit is not documented in the PE/COFF spec published by Microsoft, so we don't know the official name of it. I named this bit IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VIRTUAL_ADDRESS because the bit is reported as "high entropy virtual address" by dumpbin.exe, llvm-svn: 200121
* Improve some x86 type constraints.Craig Topper2014-01-261-11/+22
| | | | llvm-svn: 200120
* Improve pattern match from v1i8 to v1i32 for AArch64 Neon.Jiangning Liu2014-01-262-14/+23
| | | | llvm-svn: 200119
* Remove unused typedef.Rui Ueyama2014-01-261-2/+0
| | | | llvm-svn: 200118
* llvm-readobj: add support for PE32+ (Windows 64 bit executable).Rui Ueyama2014-01-265-62/+180
| | | | | | | | | | | | PE32+ supports 64 bit address space, but the file format remains 32 bit. So its file format is pretty similar to PE32 (32 bit executable). The differences compared to PE32 are (1) the lack of "BaseOfData" field and (2) some of its data members are 64 bit. In this patch, I added a new member function to get a PE32+ Header object to COFFObjectFile class and made llvm-readobj to use it. llvm-svn: 200117
* Remove -print-hack-directives from a test where we already do the right thing.Rafael Espindola2014-01-261-1/+1
| | | | llvm-svn: 200116
* Move tests that just use llc from test/MC/Mips to test/MC/Codegen.Rafael Espindola2014-01-264-0/+0
| | | | | | This is an expanded version of r200064. llvm-svn: 200115
* For AArch64 Neon, fix intrinsics implementation using nested macros.Jiangning Liu2014-01-262-48/+113
| | | | llvm-svn: 200114
* Implement pattern match from v1xx to v1xx for AArch64 Neon.Jiangning Liu2014-01-262-0/+199
| | | | llvm-svn: 200113
* [Sparc] Add support for sparc relocation types in ELF object file.Venkatraman Govindaraju2014-01-263-0/+117
| | | | llvm-svn: 200112
* [AArch64 NEON] Add patterns for concat_vector on v2i32.Kevin Qin2014-01-262-21/+56
| | | | llvm-svn: 200111
* [AArch64 NEON] Add test case for vector FP_ROUND.Kevin Qin2014-01-261-0/+18
| | | | llvm-svn: 200110
* [AArch64 NEON] Fix pattern match failed on FP_ROUND from v1f128 to v1f64.Kevin Qin2014-01-262-0/+13
| | | | llvm-svn: 200109
* Removed extra line that I left in when committing 199694. Thanks to Jared ↵Marshall Clow2014-01-261-1/+0
| | | | | | Grubb for the catch. llvm-svn: 200108
* [PECOFF] Use a shorter name for the parameter.Rui Ueyama2014-01-261-23/+23
| | | | llvm-svn: 200107
* [PECOFF] Set PE32+ magic value if 64 bit.Rui Ueyama2014-01-262-2/+9
| | | | llvm-svn: 200106
* Rename getResultLoc() tooAlp Toker2014-01-2512-23/+23
| | | | | | | | Follow up to r200082. Spotted by Dmitri llvm-svn: 200105
* removing duplicate enum valueVenkatraman Govindaraju2014-01-251-1/+0
| | | | llvm-svn: 200104
* Missing ELF relocations for Sparc.Venkatraman Govindaraju2014-01-251-1/+31
| | | | llvm-svn: 200103
* Re-enabling MCJIT tests on ARMRenato Golin2014-01-251-2/+2
| | | | | | | | | After several refactorings on the MCJIT remote communication, things are finally looking good on Clang-compiled LLVM regarding MCJIT remote tests, so I'm re-enabling them to see how the self-hosting buildbot behaves over a longer period. llvm-svn: 200102
* [Sparc] Add sparc to the list of XFAIL architecture. It seems that the ↵Venkatraman Govindaraju2014-01-251-1/+1
| | | | | | llvm-cov test is not supported in big-endian architectures. llvm-svn: 200101
* Set displacementSize to 1 for instrucitons with mod==0x1. Fixes PR17310. ↵Craig Topper2014-01-251-0/+3
| | | | | | Modified from patch by James Courtier-Dutton. llvm-svn: 200100
* PR18530: Don't assert when performing error recovery after a missing ↵Richard Smith2014-01-252-12/+12
| | | | | | 'template<>' on a variable template explicit specialization. llvm-svn: 200099
* PR18283: If a const variable of integral or enumeration type isRichard Smith2014-01-252-1/+20
| | | | | | | | initialized from a constant expression in C++98, it can be used in constant expressions, even if it was brace-initialized. Patch by Rahul Jain! llvm-svn: 200098
* Add a TBAA CodeGen failure test caseHal Finkel2014-01-251-0/+41
| | | | | | | | | I disabled the use of TBAA in CodeGen in r200093. This adds a test case that demonstrates the problems with inttoptr and TBAA in CodeGen (and, specifically, the problem that causes LLVM to miscompile itself in Release mode). This test will currently fail if -use-tbaa-in-sched-mi is enabled. llvm-svn: 200097
* unittests: explicit stringify StringRefs for conversionSaleem Abdulrasool2014-01-253-7/+9
| | | | | | | | | When clang is built outside of the LLVM tree (against a corresponding version), there is no definition providing for operator<<(std::ostream &, StringRef) which is required for the assertion routines in google-test tests. Avoid the compilation failure by explicitly stringifying the StringRef prior to use. llvm-svn: 200096
* Clean up hack which is no longer needed after r198617. No functionality change.Evan Cheng2014-01-251-3/+2
| | | | llvm-svn: 200095
* XFAIL test/CodeGen/SystemZ/alias-01.ll which requires CodeGen TBAAHal Finkel2014-01-251-0/+3
| | | | llvm-svn: 200094
* Disable the use of TBAA when using AA in CodeGenHal Finkel2014-01-253-4/+32
| | | | | | | | | | | | | | | | | There are currently two issues, of which I currently know, that prevent TBAA from being correctly usable in CodeGen: 1. Stack coloring does not update TBAA when merging allocas. This is easy enough to fix, but is not the largest problem. 2. CGP inserts ptrtoint/inttoptr pairs when sinking address computations. Because BasicAA does not handle inttoptr, we'll often miss basic type punning idioms that we need to catch so we don't miscompile real-world code (like LLVM). I don't yet have a small test case for this, but this fixes self hosting a non-asserts build of LLVM on PPC64 when using -enable-aa-sched-mi and -misched=shuffle. llvm-svn: 200093
* Remove FIXME comments about tids on FreeBSD that no longer applyEd Maste2014-01-251-16/+0
| | | | | | Spotted by John Wolfe. llvm-svn: 200092
* Don't use EnforceSmallerThan for EnforceVectorSubVectorTypeIs. ↵Craig Topper2014-01-251-2/+53
| | | | | | EnforceSmallerThan doesn't handle vectors quite right and should really enforce that vectors have the same number of elements. Add explicit checks for vector element count differing in EnforceVectorSubVectorTypeIs instead. This removes some unnecessary type checks in X86GenDAGISel.inc. llvm-svn: 200091
* Fix "llvm-objdump -d -r" to show relocations inline for ELF filesMark Seaborn2014-01-252-6/+58
| | | | | | | | | | | | | | | | | | | This fixes a regression introduced by r182908, which broke llvm-objdump's ability to display relocations inline in a disassembly dump for ELF object files. That change removed a SectionRelocMap from Object/ELF.h, which we recreate in llvm-objdump.cpp. I discovered this regression via an out-of-tree test (test/NaCl/X86/pnacl-hides-sandbox-x86-64.ll) which used llvm-objdump. Note that the "Unknown" string in the test output on i386 isn't quite right, but this appears to be a pre-existing bug. Differential Revision: http://llvm-reviews.chandlerc.com/D2559 llvm-svn: 200090
* Fix typo in commment tyep->type.Craig Topper2014-01-251-1/+1
| | | | llvm-svn: 200089
* Add combiner-aa-only-func (debug only)Hal Finkel2014-01-251-0/+22
| | | | | | | | | This option (which is !NDEBUG only) allows restricting the use of alias analysis in DAGCombiner to a specific function. This has proved extremely valuable to isolating bugs related to this feature, and mirrors the misched-only-func option provided by the new instruction scheduler. llvm-svn: 200088
* Improve descriptions of combiner-alias-analysis and ↵Hal Finkel2014-01-251-2/+2
| | | | | | combiner-global-alias-analysis llvm-svn: 200087
* Remove obsolete ObjCMethodDecl arg_type iterator functionsAlp Toker2014-01-252-11/+3
| | | | | | These were set into deprecation in r199773. llvm-svn: 200086
* Track clang changes from r200082Alp Toker2014-01-251-3/+3
| | | | llvm-svn: 200085
* Track clang changes from r200082Alp Toker2014-01-251-1/+1
| | | | llvm-svn: 200084
* Reverting r199886 (Prevent repetitive warnings for unrecognized processors ↵Artyom Skrobov2014-01-254-59/+27
| | | | | | and features) llvm-svn: 200083
* Rename getResultType() on function and method declarations to getReturnType()Alp Toker2014-01-2581-726/+650
| | | | | | | | | | | | | | | A return type is the declared or deduced part of the function type specified in the declaration. A result type is the (potentially adjusted) type of the value of an expression that calls the function. Rule of thumb: * Declarations have return types and parameters. * Expressions have result types and arguments. llvm-svn: 200082
* [Mips] Add support for mips64el-linux-android triple.Simon Atanasyan2014-01-253-1/+32
| | | | llvm-svn: 200081
* [Mips] Add test to check translation MIPS triples to cpu and float abiSimon Atanasyan2014-01-251-0/+35
| | | | | | options. llvm-svn: 200080
* Added .DS_Store entry in .gitignore for ignoring .DS_Store files in the sourceRafael Espindola2014-01-251-0/+2
| | | | | | | | tree generated by OS X. Patch by Abhay Kadam! llvm-svn: 200079
OpenPOWER on IntegriCloud