- Oct 18, 2013
-
-
Ed Maste authored
Clang tells me that "token pasting of ',' and __VA_ARGS__ is a GNU extension". Also catch up with changes in function args. llvm-svn: 192920
-
Hans Wennborg authored
This is a common extension on Windows, and now clang will assemble them instead of treating them as linker input which is the default for unknown file types. llvm-svn: 192919
-
Ed Maste authored
llvm-svn: 192918
-
Richard Mitton authored
Some linkers (GNU ld) are picky about library order, so if we import libraries as part of our LDFLAGS then that needs to come after any DYLIB_NAME which might require that library. llvm-svn: 192917
-
David Peixotto authored
This commit implements the correct lowering of the COPY_STRUCT_BYVAL_I32 pseudo-instruction for thumb1 targets. Previously, the lowering of COPY_STRUCT_BYVAL_I32 generated the post-increment forms of ldr/ldrh/ldrb instructions. Thumb1 does not have the post-increment form of these instructions so the generated assembly contained invalid instructions. Passing the generated assembly to gcc caused it to complain with an error like this: Error: cannot honor width suffix -- `ldrb r3,[r0],#1' and the integrated assembler would generate an object file with an invalid instruction encoding. This commit contains a small test case that demonstrates the problem with thumb1 targets as well as an expanded test case that more throughly tests the lowering of byval struct passing for arm, thumb1, and thumb2 targets. llvm-svn: 192916
-
David Peixotto authored
This commit refactors the lowering of the COPY_STRUCT_BYVAL_I32 pseudo-instruction in the ARM backend. We introduce a new helper class that encapsulates all of the operations needed during the lowering. The operations are implemented for each subtarget in different subclasses. Currently only arm and thumb2 subtargets are supported. This refactoring was done to easily implement support for thumb1 subtargets. This initial patch does not add support for thumb1, but is only a refactoring. A follow on patch will implement the support for thumb1 subtargets. No intended functionality change. llvm-svn: 192915
-
Alp Toker authored
Delayed exception specification checking for defaulted members and virtual destructors are both susceptible to mutation during iteration so we need to process the worklists fully. This resolves both accepts-invalid and rejects-valid issues and moreover fixes potential invalid memory access as the contents of the vectors change during iteration and recursive template instantiation. This patch also adds two assertions at end of TU to ensure no specs are left unchecked as was happenning before the fix, plus a test case from Marshall Clow for the defaulted member crash extracted from the libcxx headers. Reviewed by Richard Smith. llvm-svn: 192914
-
Anders Waldenborg authored
All of the Core API functions have versions which accept explicit context, in addition to ones which work on global context. This commit adds functions which accept explicit context to the Target API for consistency. Patch by Peter Zotov Differential Revision: http://llvm-reviews.chandlerc.com/D1912 llvm-svn: 192913
-
Hans Wennborg authored
After r192904, Reid pointed out he thought we already set the stack size for MSVC. Turns out we did, but it didn't seem to work. This commit sets the stack size in a single place, using CMAKE_EXE_LINKER_FLAGS because that seems to be the way that works best. llvm-svn: 192912
-
DeLesley Hutchins authored
llvm-svn: 192911
-
Rafael Espindola authored
llvm-svn: 192910
-
Chad Rosier authored
class. The instruction class includes the signed saturating doubling multiply-add long, signed saturating doubling multiply-subtract long, and the signed saturating doubling multiply long instructions. llvm-svn: 192909
-
Chad Rosier authored
class. The instruction class includes the signed saturating doubling multiply-add long, signed saturating doubling multiply-subtract long, and the signed saturating doubling multiply long instructions. llvm-svn: 192908
-
Rafael Espindola authored
llvm-svn: 192907
-
Rafael Espindola authored
No functionality change. llvm-svn: 192906
-
Edwin Vane authored
Making the user null macros command-line option visible to the UseNullptrTransform class instead of being visible only to the match callback. llvm-svn: 192905
-
Hans Wennborg authored
Compiling under Visual C++ 2012 with the default stack size of 1MB, the stack overflows at a depth of 216 template instantiations, well before the 256 default limit. This patch modifies the default MSVC stack size to 2MB. Patch by Yaron Keren! llvm-svn: 192904
-
Bill Wendling authored
This tests r190354. llvm-svn: 192903
-
Hans Wennborg authored
This adds support for outputing the assembly to a file during compilation. It does this by changing the compilation pipeling to not use the integrated assembler, and keep the intermediate assembler file. Differential Revision: http://llvm-reviews.chandlerc.com/D1946 llvm-svn: 192902
-
- Oct 17, 2013
-
-
Alexander Potapenko authored
llvm-svn: 192901
-
Rafael Espindola authored
Every other function in Redeclarable.h was using Decl instead of Declaration. llvm-svn: 192900
-
Daniel Sanders authored
These options specify 64-bit FP registers and 32-bit FP registers respectively. When using -mfp32, the FPU has 16x double-precision registers overlapping with the 32x single-precision registers (each double-precision register overlaps two single-precision registers). When using -mfp64, the FPU has 32x double-precision registers overlapping with the 32x single-precision registers (each double-precision register overlaps with one single-precision register and has an additional 32-bits). MSA requires -mfp64. llvm-svn: 192899
-
Daniel Sanders authored
[mips][msa] Update -mmsa help text and removed the hidden flag to better match conventions used by other targets llvm-svn: 192898
-
Ed Maste authored
llvm-svn: 192897
-
Daniel Sanders authored
Includes: and.v, bmnz.v, bmz.v, bnz.[bhwdv], bz.[bhwdv], cfcmsa, ctcmsa, fcaf, fcor, fcueq, fcul[et], fcun, fcune, fsaf, fsueq, fsul[et], fsun, fsune, ftrunc hadd_[su].[hwd], hsub_[su].[hwd], insert.[bhw], insve.[bhw], ld.[bhwd], move.v, nor.v, or.v, srar.[bhwd], srari.[bhwd], srlr.[bhwd], srlri.[bhwd], st.[bhwd], subsus_u.[bhwd], subsuu_s.[bhwd], vshf.[bhwd], xor.v llvm-svn: 192896
-
Daniel Sanders authored
llvm-svn: 192895
-
Alexey Samsonov authored
[DebugInfo] Delete dead code, simplify and fix code style for some existing code. No functionality change. llvm-svn: 192894
-
Ed Maste authored
llvm-svn: 192893
-
Kostya Serebryany authored
llvm-svn: 192892
-
NAKAMURA Takumi authored
TMPDIR is preferred in Unix. llvm-svn: 192891
-
Benjamin Kramer authored
They were failing with -mcpu=atom. llvm-svn: 192890
-
Daniel Sanders authored
llvm-svn: 192889
-
Daniel Sanders authored
These were present in a previous version of the MSA spec but are not present in the published version. There is no hardware that uses these instructions. llvm-svn: 192888
-
NAKAMURA Takumi authored
This is intended to check how many temporary files would be generated in automated builders. llvm-svn: 192887
-
Evgeniy Stepanov authored
llvm-svn: 192886
-
Kostya Serebryany authored
Summary: This fixes a deadlock which happens in lsan on a large memalign-allocated chunk that resides in lsan's root set. Reviewers: samsonov, earthdok Reviewed By: earthdok CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1957 llvm-svn: 192885
-
Richard Sandiford authored
E.g. (and (sra (i32 x) 31) 2) -> (and (srl (i32 x) 30) 2). llvm-svn: 192884
-
Andrea Di Biagio authored
When canonicalizing dags according to the rule (shl (zext (shr X, c1) ), c1) ==> (zext (shl (shr X, c1), c1)) remember to add the new shl dag to the DAGCombiner worklist of nodes. If we don't explicitly add it to the worklist of nodes to visit, we may not trigger later on the rule that folds the shift left + logical shift right into a AND instruction with bitmask. llvm-svn: 192883
-
Evgeniy Stepanov authored
Switch to sign-extension in r192575 caused 7% perf loss on 482.sphinx3. llvm-svn: 192882
-
Anders Waldenborg authored
Error handling code for raw_fd_ostream constructor is present, but never used, because formatted_raw_ostream will always assert on closed fd's before. Patch by Peter Zotov Differential Revision: http://llvm-reviews.chandlerc.com/D1909 llvm-svn: 192881
-