- Oct 24, 2013
-
-
Manman Ren authored
llvm-svn: 193276
-
- Oct 23, 2013
-
-
Rafael Espindola authored
Revert "Calling _chkstk is required on ELF as well as COFF on Windows. Without _chkstk functions requiring large stack crash in initialization code. Previous code tested for COFF format but not Mach-O and this patch modifies the code to test for Windows." This reverts commit r193263. It is causing CodeGen/X86/mingw-alloca.ll to fail. llvm-svn: 193275
-
David Majnemer authored
Commit r191484 treated constexpr function templates as normal function templates with respect to delaying their parsing. However, this is unnecessarily restrictive because there is no compatibility concern with constexpr, MSVC doesn't support it. Instead, simply disable delayed template parsing for constexpr function templates. This largely reverts the changes made in r191484 but keeps it's unit test. This fixes PR17661. llvm-svn: 193274
-
Yuchen Wu authored
llvm-svn: 193273
-
Rafael Espindola authored
llvm-svn: 193272
-
Rui Ueyama authored
Because it depends on "-mllvm -debug" flag, the test fails in Release build. llvm-svn: 193271
-
Benjamin Kramer authored
Also update the cost model. llvm-svn: 193270
-
David Majnemer authored
The Itanium mangler couldn't cope with mangling an IndirectFieldDecl. Instead, mangle the field the IndirectFieldDecl refers to. Further, give IndirectFieldDecl no linkage just like FieldDecl. N.B. Decl.cpp:getLVForNamespaceScopeDecl tried to calculate linkage for data members of anonymous structs/unions. However, this seems impossible so turn it into an assertion. llvm-svn: 193269
-
Yuchen Wu authored
llvm-svn: 193268
-
Manman Ren authored
Now, all extract & insert intrinsics should have the correct and operation to ignore higher bits. rdar://15250497 llvm-svn: 193267
-
Rui Ueyama authored
llvm-svn: 193266
-
Jordan Rose authored
This ensures that variables accessible through a union are invalidated when the union value is passed to a function. We still don't fully handle union values, but this should at least quiet some false positives. PR16596 llvm-svn: 193265
-
Yuchen Wu authored
There are a few motivations for this: - Using a map allows for checking if line is in map. This differentiates unexecutable lines (such as comments) from unexecuted logical lines of code. "#####" is now outputted in this case, in line with gcov. - Source files are no longer read in twice: once when storing the line counts, and once when outputting the data. - Greatly simplifies the function FileInfo::addLineCount(). llvm-svn: 193264
-
Yaron Keren authored
Without _chkstk functions requiring large stack crash in initialization code. Previous code tested for COFF format but not Mach-O and this patch modifies the code to test for Windows. Credits to Andrew MacPherson. llvm-svn: 193263
-
Benjamin Kramer authored
On sandy bridge (PR17654) we now get vpxor %xmm1, %xmm1, %xmm1 vpunpckhbw %xmm1, %xmm0, %xmm2 vpunpcklbw %xmm1, %xmm0, %xmm0 vinsertf128 $1, %xmm2, %ymm0, %ymm0 On haswell it's a simple vpmovzxbw %xmm0, %ymm0 There is a maze of duplicated and dead transforms and patterns in this area. Remove the dead custom lowering of zext v8i16 to v8i32, that's already handled by LowerAVXExtend. llvm-svn: 193262
-
Michael Liao authored
- Skip instructions added in prolog. For specific targets, prolog may insert helper function calls (e.g. _chkstk will be called when there're more than 4K bytes allocated on stack). However, these helpers don't use/def YMM/XMM registers. llvm-svn: 193261
-
Greg Clayton authored
llvm-svn: 193260
-
Rui Ueyama authored
llvm-svn: 193259
-
NAKAMURA Takumi authored
llvm-svn: 193258
-
NAKAMURA Takumi authored
llvm-svn: 193257
-
NAKAMURA Takumi authored
FIXME: I don't think it'd be smart. llvm-svn: 193256
-
NAKAMURA Takumi authored
llvm-svn: 193255
-
NAKAMURA Takumi authored
llvm-svn: 193254
-
NAKAMURA Takumi authored
llvm-svn: 193253
-
Jim Grosbach authored
Per Nadav's review comments for r192866. llvm-svn: 193252
-
Shuxin Yang authored
Major steps include: 1). introduces a not-addr-taken bit-field in GlobalVariable 2). GlobalOpt pass sets "not-address-taken" if it proves a global varirable dosen't have its address taken. 3). AA use this info for disambiguation. llvm-svn: 193251
-
Ed Maste authored
llvm-svn: 193250
-
Benjamin Kramer authored
Pacifies GCC's -Wstrict-prototypes. llvm-svn: 193249
-
Rafael Espindola authored
llvm-svn: 193248
-
Zoran Jovanovic authored
llvm-svn: 193247
-
Faisal Vali authored
A prior commit of this patch was reverted because it was within the blamelist's purview of a failing test. The failure of that test has been addressed here: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131021/091546.html. Therefore I am recommitting this patch (all tests pass on windows, except for the usual modules & index suspects that never pass on my box). Some background: Both Doug and Richard had asked me in Chicago to remove the circular reference in CXXRecordDecl to LambdaExpr by factoring out and storing the needed information from LambdaExpr directly into CXXRecordDecl. In addition, I have added an IsGenericLambda flag - this makes life a little easier when we implement capturing, and are Sema-analyzing the body of a lambda (and the calloperator hasn't been wired to the closure class yet). Any inner lambdas can have potential captures that could require walking up the scope chain and checking if any generic lambdas are capture-ready. This 'bit' makes some of that checking easier. No change in functionality. This patch was approved by Doug with minor modifications (comments were cleaned up, and all data members were converted from bool/enum to unsigned, as requested): http://llvm-reviews.chandlerc.com/D1856 Thanks! llvm-svn: 193246
-
Alexey Samsonov authored
llvm-svn: 193245
-
Evgeniy Stepanov authored
llvm-svn: 193244
-
Anders Waldenborg authored
llvm-svn: 193243
-
Ed Maste authored
Some versions of the GNU MIPS toolchain generate 64-Bit DWARF (even though it isn't really necessary). This change adds support for the 64-Bit DWARF format, but is not actually tested with >4GB of debug data. Similar changes are in progress for llvm's version of DWARFDebugLine, in review D1988. llvm-svn: 193242
-
Evgeniy Stepanov authored
llvm-svn: 193241
-
Matheus Almeida authored
llvm-svn: 193240
-
Daniel Sanders authored
llvm-svn: 193239
-
Artyom Skrobov authored
llvm-svn: 193238
-
Daniel Sanders authored
Unlike the previously added intrinsics, these do not map to a single instruction on MIPS32. They are provided for regularity (to round out the .[bhw] variants of the same operation) and compatibility with GCC. Includes: copy_[us].d, fill.d, insert.d, insve.d llvm-svn: 193237
-