summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "OnDiskHashTable: Use EndianStream.h to write little endian ostreams"Justin Bogner2014-03-285-153/+128
| | | | | | This reverts commit r205044. llvm-svn: 205047
* [PowerPC] Fix VSX permutation iselHal Finkel2014-03-282-2/+2
| | | | | | | Not only did I invert the indices when I wrote the code, but I also did the same thing when I wrote the regression test. Oops. llvm-svn: 205046
* OnDiskHashTable: Use Endian.h to read little endian ostreamsJustin Bogner2014-03-284-139/+154
| | | | | | | | | Rather than rolling our own functions to read little endian data from a buffer, we can use the support in llvm's Endian.h. No functional change. llvm-svn: 205045
* OnDiskHashTable: Use EndianStream.h to write little endian ostreamsJustin Bogner2014-03-285-128/+153
| | | | | | | | | Rather than rolling our own functions to write little endian data to an ostream, we can use the support in llvm's EndianStream.h. No functional change. llvm-svn: 205044
* Wait for the reply from the 'D' detach packet before tearing down the ↵Jim Ingham2014-03-282-4/+14
| | | | | | | | | | | | debugger. Avoids a race condition where we could end up killing debugserver (and thus the target) before it had a chance to detach. Also fix debugserver to send the OK AFTER it detaches to avoid the same race condition. <rdar://problem/16202713> llvm-svn: 205043
* Convert one last llc -filetype=obj test.Rafael Espindola2014-03-282-29/+70
| | | | | | Unfortunately this one fails deep inside the mips backend, so xfail it. llvm-svn: 205042
* [PowerPC] v2[fi]64 need to be explicitly passed in VSX registersHal Finkel2014-03-283-7/+62
| | | | | | | | v2[fi]64 values need to be explicitly passed in VSX registers. This is because the code in TRI that finds the minimal register class given a register and a value type will assert if given an Altivec register and a non-Altivec type. llvm-svn: 205041
* Convert llc -filetype=obj test.Rafael Espindola2014-03-282-19/+65
| | | | llvm-svn: 205040
* Convert llc -filetype=obj test.Rafael Espindola2014-03-282-33/+70
| | | | llvm-svn: 205039
* [ELF] Support response file.Rui Ueyama2014-03-283-1/+55
| | | | | | | | | Response file is a command line argument in the form of @file. The GNU- compatible driver expands the file contents, replacing @file argument. Differential Revision: http://llvm-reviews.chandlerc.com/D3210 llvm-svn: 205038
* Use constexpr again, this time portablyDuncan P. N. Exon Smith2014-03-281-2/+2
| | | | | | Responding to Justin's review of r205025. llvm-svn: 205037
* Remove bogus test.Rafael Espindola2014-03-281-18/+0
| | | | | | | | | It was using "lc -filetype=obj" just to pass the result to "llvm-objdupm -disassemble" and then filecheck assembly. The CHECK-NOT would never match anyway since it was missing $. llvm-svn: 205036
* Documentation: remove a spurious '1' and wrap to 80 columnsDmitri Gribenko2014-03-281-1/+4
| | | | llvm-svn: 205035
* Attempt to unbreak buildbots.Rui Ueyama2014-03-281-1/+1
| | | | llvm-svn: 205034
* Convert another llc -filetype=obj test.Rafael Espindola2014-03-282-40/+134
| | | | llvm-svn: 205033
* Support: Functions for writing endian specific data to streams.Justin Bogner2014-03-281-0/+39
| | | | | | | This adds a new header, EndianStream.h, which supplies an adaptor for writing endian specific data to a raw_ostream. llvm-svn: 205032
* Map ELf flags back to more specific section kinds.Rafael Espindola2014-03-283-41/+115
| | | | | | With that, convert another llc -filetype=obj test. llvm-svn: 205031
* Document module.private.modulemap and module_private.map.Douglas Gregor2014-03-281-1/+58
| | | | | | Requested in <rdar://problem/16188740>. llvm-svn: 205030
* [ELF] Support --defsym option to define an absolute symbol.Rui Ueyama2014-03-289-9/+124
| | | | | | | | | | | | | | | | | This patch is to support --defsym option for ELF file format/GNU-compatible driver. Currently it takes a symbol name followed by '=' and a number. If such option is given, the driver sets up an absolute symbol with the specified address. You can specify multiple --defsym options to define multiple symbols. GNU LD's --defsym provides many more features. For example, it allows users to specify another symbol name instead of a number to define a symbol alias, or it even allows a symbol plus an offset (e.g. --defsym=foo+3) to define symbol- relative alias. This patch does not support that, but will be supported in subsequent patches. Differential Revision: http://llvm-reviews.chandlerc.com/D3208 llvm-svn: 205029
* Parse .gpdword and convert another llc -filetype=obj test.Rafael Espindola2014-03-284-45/+109
| | | | llvm-svn: 205028
* convert another llc -filetype=obj test.Rafael Espindola2014-03-282-26/+64
| | | | llvm-svn: 205027
* Convert "llc -filetype=obj" test into llvm-mc tests.Rafael Espindola2014-03-284-39/+234
| | | | llvm-svn: 205026
* InstrProf: Fix MSVC after r205023Duncan P. N. Exon Smith2014-03-281-2/+2
| | | | llvm-svn: 205025
* Objective-C. revert r204965. This will makeFariborz Jahanian2014-03-282-2/+2
| | | | | | | | | | | -Wselector-type-mismatch default again. After internal discussions, we think that in most cases it has helped our developers find hard to detect undefined behaviors. We are going to provide a syntax (and fix-it) to suppress the warning in remaining of false positive cases. llvm-svn: 205024
* InstrProf: Emit runtime hook directly in IRGenDuncan P. N. Exon Smith2014-03-285-17/+46
| | | | | | | | | | | | | | | | | | -u behaviour is apparently not portable between linkers (see cfe-commits discussions for r204379 and r205012). I've moved the logic to IRGen, where it should have been in the first place. I don't have a Linux system to test this on, so it's possible this logic *still* doesn't pull in the instrumented profiling runtime on Linux. I'm in the process of getting tests going on the compiler-rt side (llvm-commits "[PATCH] InstrProf: Add initial compiler-rt test"). Once we have tests for the full flow there, the runtime logic should get a whole lot less brittle. <rdar://problem/16458307> llvm-svn: 205023
* Revert "Link in profile library on Linux using --whole-archive"Duncan P. N. Exon Smith2014-03-282-11/+10
| | | | | | This reverts commit r205012. llvm-svn: 205022
* Fix a FIXME, use std::move.Richard Smith2014-03-281-3/+3
| | | | llvm-svn: 205021
* SLPVectorizer: Take credit for free extractelement instructionsArnold Schwaighofer2014-03-282-2/+36
| | | | | | | | | Extract element instructions that will be removed when vectorzing lower the cost. Patch by Arch D. Robison! llvm-svn: 205020
* SLPVectorizer: Fix typosArnold Schwaighofer2014-03-281-2/+2
| | | | | | Patch by Arch D. Robison! llvm-svn: 205019
* SLPVectorizer: Ignore users that are insertelements we can reschedule themArnold Schwaighofer2014-03-282-30/+89
| | | | | | Patch by Arch D. Robison! llvm-svn: 205018
* Exception handling docs: Clarify how the llvm.eh.* intrinsics are usedMark Seaborn2014-03-281-4/+13
| | | | | | | | | The non-SJLJ and SJLJ intrinsics are generated by the frontend and backend respectively. Differential Revision: http://llvm-reviews.chandlerc.com/D3010 llvm-svn: 205017
* Only test compression when linked with zlib.David Blaikie2014-03-281-0/+2
| | | | | | | I'll implement error handling and a negative test in both llvm-mc and Clang soon. llvm-svn: 205016
* [ELF] Add --allow-multiple-definition option.Rui Ueyama2014-03-286-11/+76
| | | | | | | | | If --allow-multiple-definition option is given, LLD does not treat duplicate symbol error as a fatal error. GNU LD supports this option. Differential Revision: http://llvm-reviews.chandlerc.com/D3211 llvm-svn: 205015
* Add const to a method I missed in the previous commit.Rafael Espindola2014-03-281-7/+4
| | | | llvm-svn: 205014
* Add const.Rafael Espindola2014-03-285-8/+9
| | | | llvm-svn: 205013
* Link in profile library on Linux using --whole-archiveAlexey Samsonov2014-03-282-10/+11
| | | | llvm-svn: 205012
* clang-format: Fix aligning of comments and escaped newlines in macros.Daniel Jasper2014-03-282-0/+9
| | | | | | | | | | | | | | Before: #define A \ int i; /*a*/ \ int jjj; /*b*/ After: #define A \ int i; /*a*/ \ int jjj; /*b*/ llvm-svn: 205011
* Revert "InstCombine: merge constants in both operands of icmp."Erik Verbruggen2014-03-283-77/+12
| | | | | | | | | This reverts commit r204912, and follow-up commit r204948. This introduced a performance regression, and the fix is not completely clear yet. llvm-svn: 205010
* Revert "GVN: merge overflow intrinsics with non-overflow instructions."Erik Verbruggen2014-03-282-191/+58
| | | | | | | | | This reverts commit r203553, and follow-up commits r203558 and r203574. I will follow this up on the mailinglist to do it in a way that won't cause subtle PRE bugs. llvm-svn: 205009
* Add ARM big endian Target (armeb, thumbeb)Christian Pirker2014-03-289-46/+387
| | | | | | Reviewed at http://llvm-reviews.chandlerc.com/D3096 llvm-svn: 205008
* Add ARM big endian Target (armeb, thumbeb)Christian Pirker2014-03-2823-103/+512
| | | | | | Reviewed at http://llvm-reviews.chandlerc.com/D3095 llvm-svn: 205007
* [sanitizer] Fix Mac build.Evgeniy Stepanov2014-03-281-3/+3
| | | | llvm-svn: 205006
* R600: avoid calling std::next on an iterator that might be end()Tim Northover2014-03-281-3/+3
| | | | | | | | This was causing my llc to go into an infinite loop on CodeGen/R600/address-space.ll (just triggered recently by some allocator changes). llvm-svn: 205005
* [sanitizer] Intercept fgetpwent / fgetgrent.Evgeniy Stepanov2014-03-285-44/+209
| | | | | | | | These interceptors require deep unpoisoning of return values. While at it, we do the same for all other pw/gr interceptors to reduce dependency on libc implementation details. llvm-svn: 205004
* Intrinsics: expand semantics of LLVMExtendedVectorType (& trunc)Tim Northover2014-03-288-55/+74
| | | | | | | | | | | | These are used in the ARM backends to aid type-checking on patterns involving intrinsics. By making sure one argument is an extended/truncated version of another. However, there's no reason to limit them to just vectors types. For example AArch64 has the instruction "uqshrn sD, dN, #imm" which would naturally use an intrinsic taking an i64 and returning an i32. llvm-svn: 205003
* [sanitizer] Intercept setpwent/endpwent.Evgeniy Stepanov2014-03-282-0/+35
| | | | | | | | It's hard to write a reliable test for this code because they work with unpredictable memory locations. But this change should fix current failures in getpwent() tests on the sanitizer bots. llvm-svn: 205002
* [sanitizer] Intercept rand_r.Evgeniy Stepanov2014-03-283-0/+32
| | | | llvm-svn: 205001
* [sanitizer] Intercept getpwent/getgrent.Evgeniy Stepanov2014-03-283-0/+132
| | | | llvm-svn: 205000
* Add instrastructure for IEEE quad precision.Joerg Sonnenberger2014-03-281-6/+114
| | | | | | | | Based on patch from GuanHong Liu. Differential Revision: http://llvm-reviews.chandlerc.com/D2796 llvm-svn: 204999
* Use the correct trailing comment syntaxDmitri Gribenko2014-03-281-1/+1
| | | | llvm-svn: 204998
OpenPOWER on IntegriCloud