summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merging r195102:llvmorg-3.4.0-rc1Bill Wendling2013-11-201-1/+1
| | | | | | | | | | ------------------------------------------------------------------------ r195102 | void | 2013-11-18 20:58:46 -0800 (Mon, 18 Nov 2013) | 1 line Add lld to projects to tag. ------------------------------------------------------------------------ llvm-svn: 195195
* Merging r195193:Bill Wendling2013-11-201-3/+38
| | | | | | | | | | | | | | ------------------------------------------------------------------------ r195193 | void | 2013-11-19 20:55:20 -0800 (Tue, 19 Nov 2013) | 5 lines Add -triple option. The -triple option is used to create a named tarball of the release binaries. Also disable the RPATH modifications on Mac OS X. It's not needed. ------------------------------------------------------------------------ llvm-svn: 195194
* Merging r195158:Bill Wendling2013-11-192-0/+227
| | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r195158 | whunt | 2013-11-19 14:11:09 -0800 (Tue, 19 Nov 2013) | 9 lines Microsoft Record Layout: zero sized base after base with vbtbl fix Microsoft adds an extra byte of padding before laying out zero sized non-virtual bases if the non-virtual base before it contains a vbptr. This patch adds the same behavior to clang. Differential Revision: http://llvm-reviews.chandlerc.com/D2106 ------------------------------------------------------------------------ llvm-svn: 195167
* Merging r195163:Bill Wendling2013-11-199-8/+197
| | | | | | | | | | | | | | ------------------------------------------------------------------------ r195163 | rsmith | 2013-11-19 14:47:36 -0800 (Tue, 19 Nov 2013) | 5 lines PR9547: If we're parsing a simple-declaration that contains a tag definition, and we see an ill-formed declarator that would probably be well-formed if the tag definition were just missing a semicolon, use that as the diagnostic instead of producing some other mysterious error. ------------------------------------------------------------------------ llvm-svn: 195165
* Merging r195136:Bill Wendling2013-11-190-0/+0
| | | | | | ------------------------------------------------------------------------ llvm-svn: 195142
* Merging r195135:Bill Wendling2013-11-193-13/+15
| | | | | | | | | | | | ------------------------------------------------------------------------ r195135 | fjahanian | 2013-11-19 09:42:25 -0800 (Tue, 19 Nov 2013) | 3 lines bjectiveC. Use a uniform diagnostic for 'objc_bridge' attribute. // rdar://15454846. ------------------------------------------------------------------------ llvm-svn: 195141
* Merging r195128:Bill Wendling2013-11-191-21/+18
| | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r195128 | alexfh | 2013-11-19 06:30:44 -0800 (Tue, 19 Nov 2013) | 11 lines Refactoring: replaced (*(I + x)) with I[x]. Summary: Pure refactoring, no semantic changes intended. Reviewers: klimek Reviewed By: klimek CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2220 ------------------------------------------------------------------------ llvm-svn: 195140
* Merging r195126:Bill Wendling2013-11-192-17/+2
| | | | | | | | | | | ------------------------------------------------------------------------ r195126 | joerg | 2013-11-19 05:38:38 -0800 (Tue, 19 Nov 2013) | 2 lines Revert r194540, it breaks various C++ programs. ------------------------------------------------------------------------ llvm-svn: 195139
* Merging r195103:Bill Wendling2013-11-192-2/+7
| | | | | | | | | | ------------------------------------------------------------------------ r195103 | atrick | 2013-11-18 21:05:43 -0800 (Mon, 18 Nov 2013) | 1 line Fix patchpoint comments. ------------------------------------------------------------------------ llvm-svn: 195115
* Merging r195100:Bill Wendling2013-11-191-0/+2
| | | | | | | | | | | | | | | ------------------------------------------------------------------------ r195100 | djasper | 2013-11-18 20:26:05 -0800 (Mon, 18 Nov 2013) | 6 lines Add .clang-format without column limit to subdirectory tests/. A column limit in the test folder can lead to trouble as the RUN, CHECK, etc. comments can potentially be broken over multiple lines changing their meaning. Without column limit, clang-format will simply keep the test author's line breaks. ------------------------------------------------------------------------ llvm-svn: 195114
* Merging r195094:Bill Wendling2013-11-192-9/+47
| | | | | | | | | | | | ------------------------------------------------------------------------ r195094 | atrick | 2013-11-18 19:29:59 -0800 (Mon, 18 Nov 2013) | 3 lines Use symbolic operands in the patchpoint folding routine and fix a spilling bug. Fixes <rdar://15487687> [JS] AnyRegCC argument ends up being spilled ------------------------------------------------------------------------ llvm-svn: 195113
* Merging r195093:Bill Wendling2013-11-193-77/+172
| | | | | | | | | | | | | ------------------------------------------------------------------------ r195093 | atrick | 2013-11-18 19:29:56 -0800 (Mon, 18 Nov 2013) | 4 lines Add an abstraction to handle patchpoint operands. Hard-coded operand indices were scattered throughout lowering stages and layers. It was super bug prone. ------------------------------------------------------------------------ llvm-svn: 195112
* Merging r195092:Bill Wendling2013-11-1914-155/+80
| | | | | | | | | | | | | | ------------------------------------------------------------------------ r195092 | ributzka | 2013-11-18 19:08:35 -0800 (Mon, 18 Nov 2013) | 5 lines [weak vtables] Place class definitions into anonymous namespaces to prevent weak vtables. This patch places class definitions in implementation files into anonymous namespaces to prevent weak vtables. This eliminates the need of providing an out-of-line definition to pin the vtable explicitly to the file. ------------------------------------------------------------------------ llvm-svn: 195111
* Creating release_34 branchBill Wendling2013-11-19436-174117/+0
| | | | | | | | | | | llvm-svn: 195091 llvm-svn: 195090 llvm-svn: 195089 llvm-svn: 195088 llvm-svn: 195087 llvm-svn: 195086 llvm-svn: 195083 llvm-svn: 195082
* Disable this check temporarily.Bill Wendling2013-11-191-1/+1
| | | | | | | | | | | | | | | This is failing for me. When I run the command on my own, I get this: Error reading /usr/local/google/home/morbo/llvm/llvm.obj/tools/clang/test/Format/Output/.clang-format: Invalid argument void f() { int* i; int j; } The formatting is like this because I have the Google format version in my ~/.clang-format file. This test should be made independent of that. llvm-svn: 195080
* Implement AArch64 neon instructions class SIMD lsone and SIMD lone-post.Hao Liu2013-11-193-1/+2202
| | | | llvm-svn: 195079
* Implement AArch64 neon instructions class SIMD lsone and SIMD lone-post.Hao Liu2013-11-1914-191/+4800
| | | | llvm-svn: 195078
* Remove unused special member functions and reformat.Eric Christopher2013-11-192-14/+3
| | | | llvm-svn: 195077
* Fix previous commit and fully remove variable.Eric Christopher2013-11-193-5/+3
| | | | llvm-svn: 195076
* Remove unused variable.Eric Christopher2013-11-191-1/+0
| | | | llvm-svn: 195075
* Implement AArch64 SISD intrinsics for vget_high and vget_low.Jiangning Liu2013-11-192-4/+258
| | | | llvm-svn: 195074
* Implement AArch64 SISD intrinsics for vget_high and vget_low.Jiangning Liu2013-11-192-0/+183
| | | | llvm-svn: 195073
* implement MC layer of AArch64 neon instruction PMULL and PMULL2 with 128 bit ↵Kevin Qin2013-11-194-0/+28
| | | | | | integer. llvm-svn: 195072
* Add predicate for AArch64 crypto instructions.Jiangning Liu2013-11-193-3/+14
| | | | llvm-svn: 195071
* ObjectiveC objc_bridge. Minor refactoring.Fariborz Jahanian2013-11-191-2/+2
| | | | | | // rdar://15454846 llvm-svn: 195070
* Add predicate for AArch64 crypto instructions.Jiangning Liu2013-11-193-1/+27
| | | | llvm-svn: 195069
* Clean up predefined macros for AArch64 to follow ACLE 2.0.Jiangning Liu2013-11-193-27/+37
| | | | llvm-svn: 195068
* [Mips] Support for MicroMips STO refactoring.Jack Carter2013-11-198-71/+28
| | | | | | | | | | | | | | | | No true functional changes. Change the "hack" name of emitMipsHackSTOCG to emitSymSTO. Remove demonstration code in AsmParser for emitMipsHackSTOCG and emitMipsHackELFFlags. The STO field is in an ELF symbol and is not an explicit directive. That said, we are missing the compliment call in AsmParser and that will need to be addressed soon. XFAIL dummy tests for emitMipsHackELFFlags and emitMipsHackELFFlags. These will built out with following patches. llvm-svn: 195067
* ObjectiveC 'objc_bridging'. Assorment of improvements Fariborz Jahanian2013-11-196-45/+17
| | | | | | per Doug/Jordan comments. // rdar://15454846. llvm-svn: 195066
* [weak vtables] Remove a bunch of weak vtablesJuergen Ributzka2013-11-19113-151/+505
| | | | | | | | | | | | This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. The memory leaks in this version have been fixed. Thanks Alexey for pointing them out. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy llvm-svn: 195064
* llvm-dwarfdump: support for emitting only the debug_types section using ↵David Blaikie2013-11-192-0/+5
| | | | | | -debug-dump llvm-svn: 195063
* Write temporary file names if debugging is enabled.Rui Ueyama2013-11-192-0/+8
| | | | llvm-svn: 195062
* ObjectiveC ARC. Adopt objc_bridge attributeFariborz Jahanian2013-11-195-62/+71
| | | | | | | on struct/union/class instead of typedef of such types. // rdar://15454846 llvm-svn: 195061
* DwarfDebug: Move trailing else to the same line as prior closing braceDavid Blaikie2013-11-181-4/+2
| | | | llvm-svn: 195060
* DwarfDebug: Remove some more redundant explicit constructions.David Blaikie2013-11-181-4/+3
| | | | llvm-svn: 195059
* [Mips] MipsTargetStreamer refactoring.Jack Carter2013-11-184-64/+92
| | | | | | No functionality changes. llvm-svn: 195057
* DebugInfo: Update caller based on DIType's MDNode* ctor becoming explicit in ↵David Blaikie2013-11-181-1/+2
| | | | | | r195055. llvm-svn: 195056
* DebugInfo: Simplify a few more explicit constructions, underconstrained ↵David Blaikie2013-11-184-29/+26
| | | | | | types, and make DIType(MDNode*) explicit like all the other DI* node ctors. llvm-svn: 195055
* Change the clang driver with the use of -no-integrated-as for darwin to useKevin Enderby2013-11-182-3/+8
| | | | | | | | | | | | | | | the -Q flag to the as(1) assembler driver. We will soon be switching the darwin as(1) assembler driver to call clang(1) and use the intergated assembler by default. To do this and still support clang(1)'s -no-integrated-as flag, when clang(1) runs the as(1) assembler driver and -no-integrated-as is used it needs to pass the -Q flag to as(1) so it uses its GNU based assembler, and not turn around and call clag(1)'s integrated assembler. rdar://15495921 llvm-svn: 195054
* Revert "COFF: Emit all MCSymbols rather than filtering out some of them"Reid Kleckner2013-11-185-12/+34
| | | | | | | | This reverts commit r190888, to fix PR17967. The original change wasn't the right way to get @feat.00 into the object file. The right fix is to make @feat.00 be a global symbol. llvm-svn: 195053
* Debug info: Let LowerDbgDeclare perfom the dbg.declare -> dbg.valueAdrian Prantl2013-11-182-1/+107
| | | | | | | | | | lowering only for load/stores to scalar allocas. The resulting values confuse the backend and don't add anything because we can describe array-allocas with a dbg.declare intrinsic just fine. rdar://problem/15464571 llvm-svn: 195052
* Simplify. No functionality change.Rui Ueyama2013-11-181-3/+1
| | | | llvm-svn: 195051
* The attached patch is a follow up from my previous one. The existingRafael Espindola2013-11-182-3/+14
| | | | | | | | | | logic was not handling typedefs as free functions. This was not causing problems with the existing tests, but does with the microsoft abi where they have to get a different calling convention. I will try to refactor this into a method on Declarator in a second. llvm-svn: 195050
* Docs: tweak code-block spacing.Ahmed Bougacha2013-11-181-0/+1
| | | | llvm-svn: 195049
* Remove period at end of "optimization level is unsupported" diagnosticHans Wennborg2013-11-183-3/+3
| | | | llvm-svn: 195048
* Make test/Driver/clang_f_opts.c not write to the test dirHans Wennborg2013-11-182-2/+2
| | | | | | | After r195009, the test would write a .o file to the test dir. Send that to /dev/null instead. Also fix the typo in test/Frontend/invalid-o-level.c. llvm-svn: 195047
* The 'optnone' attribute means don't inline anything into this functionPaul Robinson2013-11-186-10/+67
| | | | | | | | | | (except functions marked always_inline). Functions with 'optnone' must also have 'noinline' so they don't get inlined into any other function. Based on work by Andrea Di Biagio. llvm-svn: 195046
* G M suggestion: conditionally include files on _WIN32.Yaron Keren2013-11-181-0/+2
| | | | llvm-svn: 195045
* This patch implements snprintf_l function in a way similar to the other Yaron Keren2013-11-182-1/+11
| | | | | | | | | | | functions in src/support/win32/locale_win32.cpp and locale_win32.h, calling upon vsnprintf for which there is a MingW correct alternative. Note! __USE_MINGW_ANSI_STDIO is not modified in this patch. In order to use the __mingw version it must be defined before including the MingW headers. llvm-svn: 195044
* The code using the StmtPrinterHelper object failed to account for a null ↵Aaron Ballman2013-11-181-44/+39
| | | | | | object in many cases, which could have led to crashes were it ever to be null. Now passing the object by reference instead of by pointer because it is never null in practice. No functional changes intended. llvm-svn: 195043