- Feb 22, 2014
-
-
NAKAMURA Takumi authored
llvm-svn: 201932
-
NAKAMURA Takumi authored
llvm/test/CodeGen/X86/shift-pcmp.ll: Tweak to appease FileCheck. "CHECK-LABEL" doesn't identify labels magically and CHECK-LABEL behaves free from other contexts. For targeting pecoff, ".def foo" appears before ".short 32". .def foo; ... .LCPI0_0: .short 32 foo: CHECK-LABEL seeks not from ".short 32" but from the top of the input. llvm-svn: 201931
-
Logan Chien authored
llvm-svn: 201930
-
Michael Gottesman authored
Also fixed some trailing whitespace issues. llvm-svn: 201929
-
Ed Maste authored
llvm.org/pr17232 llvm-svn: 201928
-
Peter Collingbourne authored
The language forbids defining enums in prototypes, so this check is normally redundant, but if an enum is defined during template instantiation it should not be added to the prototype scope. While at it, clean up the code that deals with tag definitions in prototype scope and expand the visibility warning to cover the case where an anonymous enum is defined. Differential Revision: http://llvm-reviews.chandlerc.com/D2742 llvm-svn: 201927
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D2711 llvm-svn: 201926
-
Sebastian Pop authored
llvm-svn: 201925
-
Quentin Colombet authored
The API expects an ISD opcode, not an IR opcode. Fixes a regression for R600. Related to <rdar://problem/15519855>. llvm-svn: 201923
-
Ted Kremenek authored
Per feedback from Aaron Ballman, push cast-to-ObjCProtocolDecl inside handleObjCSuppresProtocolAttr(). llvm-svn: 201922
-
Rafael Espindola authored
This works by asking cmake to use the "install rpath", but setting that rpath to be relative. Thanks a lot to Brad King for the help with CMake! llvm-svn: 201921
-
Warren Hunt authored
No functional change. It's unclear if the word FIXME is relevant given that the macro behaves as intended. llvm-svn: 201920
-
Ben Langmuir authored
Avoid a warning about reaching the end of a non-void function after a covered switch. llvm-svn: 201919
-
David Majnemer authored
MSVC allows extra-qualification on member functions, it lets you repeat the class name on the method. llvm-svn: 201918
-
Warren Hunt authored
A recent change caused multi-dimensional arrays not to be handled correctly, this patch fixes that. Also, it adds a lit test for multi-dimensional arrays. llvm-svn: 201917
-
Reid Kleckner authored
This reverts commit r201910. While __func__ may be standard in C++11, it was only recently added to MSVC in 2013 CTP, and LLVM supports MSVC 2012. __FUNCTION__ may not be standard, but it's *very* portable. llvm-svn: 201916
-
Quentin Colombet authored
The LLVM diagnostic are now wired-up in clang (since r200931), thus the user experience will not be impacted by this change anymore. Related to <rdar://problem/15886697> llvm-svn: 201915
-
Warren Hunt authored
Unused variable is removed. Construction order is changed to match declaration order. llvm-svn: 201914
-
David Majnemer authored
It was previously thought that Sema::InstantiateClass could not fail from within this point in instantiate. However, it can happen if the class is invalid some way (i.e. invalid base specifier). This fixes PR18907. Differential Revision: http://llvm-reviews.chandlerc.com/D2850 llvm-svn: 201913
-
Quentin Colombet authored
CodeGenPrepare uses extensively TargetLowering which is part of libLLVMCodeGen. This is a layer violation which would introduce eventually a dependence on CodeGen in ScalarOpts. Move CodeGenPrepare into libLLVMCodeGen to avoid that. Follow-up of <rdar://problem/15519855> llvm-svn: 201912
-
Ted Kremenek authored
[ObjC] Make attribute 'objc_protocol_requires_explicit_implementation' behave correctly with default property synthesis. In particular, if we see an @property within the @interface of a class conforming to a protocol with this attribute, we treat that as if the implementation were available, per the rules of default property synthesis. llvm-svn: 201911
-
Joerg Sonnenberger authored
llvm-svn: 201910
-
Joerg Sonnenberger authored
Use it to enable the various functions for TI mode. llvm-svn: 201909
-
Joerg Sonnenberger authored
llvm-svn: 201908
-
Warren Hunt authored
CGRecordLayoutBuilder was aging, complex, multi-pass, and shows signs of existing before ASTRecordLayoutBuilder. It redundantly performed many layout operations that are now performed by ASTRecordLayoutBuilder and asserted that the results were the same. With the addition of support for the MS-ABI, such as placement of vbptrs, vtordisps, different bitfield layout and a variety of other features, CGRecordLayoutBuilder was growing unwieldy in its redundancy. This patch re-architects CGRecordLayoutBuilder to not perform any redundant layout but rather, as directly as possible, lower an ASTRecordLayout to an llvm::type. The new architecture is significantly smaller and simpler than the CGRecordLayoutBuilder and contains fewer ABI-specific code paths. It's also one pass. The architecture of the new system is described in the comments. For the most part, the new system simply takes all of the fields and bases from an ASTRecordLayout, sorts them, inserts padding and dumps a record. Bitfields, unions and primary virtual bases make this process a bit more complicated. See the inline comments. In addition, this patch updates a few lit tests due to the fact that the new system computes more accurate llvm types than CGRecordLayoutBuilder. Each change is commented individually in the review. Differential Revision: http://llvm-reviews.chandlerc.com/D2795 llvm-svn: 201907
-
Quentin Colombet authored
shifted mask rather than masking and shifting separately. The patch adds this transformation to the DAGCombiner: (shl (and (setcc:i8v16 ...) N01C) N1C) -> (and (setcc:i8v16 ...) N01C<<N1C) <rdar://problem/16054492> Patch by Adam Nemet <anemet@apple.com> llvm-svn: 201906
-
Ben Langmuir authored
Provides a way to create a virtual file system using a YAML file that supports mapping a file to a path on an 'external' file system. The external file system will typically be the 'real' file system, but for testing it can be changed. A future patch will add a clang option to allow the user to specify such a file and overlay it, but for now this code is only exercised by the unit tests. Differential Revision: http://llvm-reviews.chandlerc.com/D2835 llvm-svn: 201905
-
Juergen Ributzka authored
[Stackmaps] Move the target-independent frame index elimination for stackmaps and patchpoints into target-specific code. The lowering of the frame index for stackmaps and patchpoints requires some target-specific magic and should therefore be handled in the target-specific eliminateFrameIndex method. This is related to <rdar://problem/16106219> llvm-svn: 201904
-
Tobias Grosser authored
Reported-by:
Sebastian Pop <spop@codeaurora.org> Reported-by:
Yabin Hu <yabin.hwu@gmail.com> llvm-svn: 201903
-
Tobias Grosser authored
Reported-by:
Sebastian Pop <spop@codeaurora.org> llvm-svn: 201902
-
Warren Hunt authored
Because GCC incorrectly defines _mm_prefetch to take anything that casts to void*, people have started using that behavior. The previous patch that made _mm_prefetch actually take a const char * broke compatibility with existing code. This update to the patch leaves the macro that defines _mm_prefetch with the (void*) cast when _MSC_VER is not defined. llvm-svn: 201901
-
- Feb 21, 2014
-
-
Rui Ueyama authored
LLD now prints an error message if /SAFESEH option is specified and one or more input files are not compatible with SEH. llvm-svn: 201900
-
Ted Kremenek authored
Add requirement that attribute 'objc_protocol_requires_explicit_implementation' can only be applied to protocol definitions. llvm-svn: 201899
-
Tobias Grosser authored
llvm-svn: 201898
-
Jim Ingham authored
llvm-svn: 201897
-
Jim Ingham authored
on the debugserver side) when we kill a process or it leaves a zombie around. llvm-svn: 201896
-
Rui Ueyama authored
Syntactically /SAFESEH is a boolean flag -- you can pass /SAFESEH or /SAFESEH:no. The meaning of /SAFESEH is as follows. - If /SAFESEH is specified, the linker will produce an executable with SEH table. If any input files are not compatible with SEH, it's an error. - If /SAFESEH:no is specified, the linker will not emit SEH table even if all input files are compatible with SEH. - If no option is specified, the linker emits SEH table if all input files are compatible with SEH. llvm-svn: 201895
-
Joerg Sonnenberger authored
llvm-svn: 201894
-
Ted Kremenek authored
llvm-svn: 201893
-
Juergen Ributzka authored
Revert "Fix historical #ifdef. Use __cplusplus instead of __GXX_EXPERIMENTAL_CXX0X__ when compiling with clang. No functionality change." This reverts commit r201864, because it breaks our build bots. llvm-svn: 201892
-