- May 02, 2014
-
-
Hans Wennborg authored
class template member classes (PR19613) Also improve this code in general by implementing suggestions from Richard. Differential Revision: http://reviews.llvm.org/D3555?id=9020 llvm-svn: 207822
-
Rui Ueyama authored
llvm-svn: 207821
-
Reid Kleckner authored
llvm-svn: 207820
-
Reid Kleckner authored
dependent-type-member-pointer.cpp is failing on a win64 bot because -fms-extensions is not enabled. Use ConvertType rather than relying on the inheritance attributes. It's less code, but probably slower. llvm-svn: 207819
-
Greg Clayton authored
<rdar://problem/16790579> llvm-svn: 207818
-
Reid Kleckner authored
The Win64 ABI docs on MSDN say that arguments bigger than 8 bytes are passed by reference. Prior to this change, we were only applying this logic to RecordType arguments. This affects both the Itanium and Microsoft C++ ABIs. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D3587 llvm-svn: 207817
-
Greg Clayton authored
- CTRL+C wasn't clearing the command in lldb - CTRL+C doesn't work in python macros in lldb - Ctrl+C no longer interrupts the running process that you attach to <rdar://problem/15949205> <rdar://problem/16778652> <rdar://problem/16774411> llvm-svn: 207816
-
Reid Kleckner authored
This code is trying to test if the pointer is *not* null. Therefore we should use 'or' instead of 'and' to combine the results of 'icmp ne'. This logic is consistent with the general member pointer comparison code in EmitMemberPointerComparison. llvm-svn: 207815
-
Lubos Lunak authored
llvm-svn: 207814
-
Richard Smith authored
Also, it uses libc++abi and needs pthread. While there, fix the libc++ include path. Patch by Patrick Wildt! llvm-svn: 207813
-
Richard Smith authored
llvm-svn: 207812
-
David Blaikie authored
Code review feedback from Reid Kleckner on r207806. llvm-svn: 207811
-
Reid Kleckner authored
This test passes on Windows with lit's shell interpreter. llvm-svn: 207810
-
Rui Ueyama authored
You can omit @number suffix when specifying /export option, but you can do that only for stdcall functions. llvm-svn: 207809
-
Lubos Lunak authored
I don't know why this fails on the buildbot. llvm-svn: 207808
-
Juergen Ributzka authored
llvm-svn: 207807
-
David Blaikie authored
llvm-svn: 207806
-
Juergen Ributzka authored
llvm-svn: 207805
-
Juergen Ributzka authored
llvm-svn: 207804
-
Juergen Ributzka authored
llvm-svn: 207803
-
Rui Ueyama authored
llvm-svn: 207802
-
Michael J. Spencer authored
Given the following C code llvm currently generates suboptimal code for x86-64: __m128 bss4( const __m128 *ptr, size_t i, size_t j ) { float f = ptr[i][j]; return (__m128) { f, f, f, f }; } ================================================= define <4 x float> @_Z4bss4PKDv4_fmm(<4 x float>* nocapture readonly %ptr, i64 %i, i64 %j) #0 { %a1 = getelementptr inbounds <4 x float>* %ptr, i64 %i %a2 = load <4 x float>* %a1, align 16, !tbaa !1 %a3 = trunc i64 %j to i32 %a4 = extractelement <4 x float> %a2, i32 %a3 %a5 = insertelement <4 x float> undef, float %a4, i32 0 %a6 = insertelement <4 x float> %a5, float %a4, i32 1 %a7 = insertelement <4 x float> %a6, float %a4, i32 2 %a8 = insertelement <4 x float> %a7, float %a4, i32 3 ret <4 x float> %a8 } ================================================= shlq $4, %rsi addq %rdi, %rsi movslq %edx, %rax vbroadcastss (%rsi,%rax,4), %xmm0 retq ================================================= The movslq is uneeded, but is present because of the trunc to i32 and then sext back to i64 that the backend adds for vbroadcastss. We can't remove it because it changes the meaning. The IR that clang generates is already suboptimal. What clang really should emit is: %a4 = extractelement <4 x float> %a2, i64 %j This patch makes that legal. A separate patch will teach clang to do it. Differential Revision: http://reviews.llvm.org/D3519 llvm-svn: 207801 -
Pranav Bhandarkar authored
llvm-svn: 207800
-
David Blaikie authored
Seems to be crashing clang (3.3 and 3.4) on some buildbots... This reverts commit r207792. llvm-svn: 207799
-
Joerg Sonnenberger authored
llvm-svn: 207798
-
Lubos Lunak authored
That's what all tests use, no idea where I got the latter from. llvm-svn: 207797
-
Kaelyn Takata authored
order by the number of missing or extra parameters. This is useful if there are more than a few overload candidates with arity mismatches, particularly in the presence of -fshow-overloads=best. llvm-svn: 207796
-
Lubos Lunak authored
Enclosing the original #include directive inside #if 0 adds lines, so warning/errors messages would have the line number off in "In file included from <file>:<line>:", so add line marker to fix this. llvm-svn: 207795
-
Lubos Lunak authored
Similar to r207764. llvm-svn: 207794
-
Peter Zotov authored
This package is useful for architecture-independent tools like llc. Patch by Jacques-Pascal Deplaix. llvm-svn: 207793
-
David Blaikie authored
llvm-svn: 207792
-
Rui Ueyama authored
This is more efficient than before. llvm-svn: 207791
-
Reed Kotler authored
This creates a lot of core infrastructure in which to add, with little effort, quite a bit more to mips fast-isel Test Plan: simplestore.ll Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D3527 llvm-svn: 207790
-
Richard Smith authored
llvm-svn: 207789
-
David Blaikie authored
This was initialized by llvm-mc (calling setDwarfVersion) but other clients (such as clang, llc, etc) aren't necessarily initializing this so we were getting garbage DWARF version values in the output. Initialize it to a reasonable default (the same default used in llvm-mc, though this is higher than it was (2) previously). llvm-svn: 207788
-
Arnaud A. de Grandmaison authored
The test can now catch all cases: - no removal of the 'no-integrated-as' flag - bogus removal of the flag, like when the remove_if was not followed by an erase llvm-svn: 207787
-
Rafael Espindola authored
This matches gas' behaviour on COFF. I think that this yak is now sufficiently shaved for aliases with offset to work. llvm-svn: 207786
-
Benjamin Kramer authored
llvm-svn: 207785
-
Reid Kleckner authored
GCC -pedantic warns that the initialization of Header is not constant: InstrProfilingFile.c:31:5: error: initializer element is not computable at load time [-Werror] LLVM defaults to enabling -pedantic. If this warning is unhelpful, we can consider revisiting that decision. llvm-svn: 207784
-
Eli Bendersky authored
This optimization merges the common part of a group of GEPs, so we can compute each pointer address by adding a simple offset to the common part. The optimization is currently only enabled for the NVPTX backend, where it has a large payoff on some benchmarks. Review: http://reviews.llvm.org/D3462 Patch by Jingyue Wu. llvm-svn: 207783
-