- Mar 10, 2014
-
-
Viktor Kutuzov authored
A fix for platform-dependent types in sanitizers' profiling support lib on x64 FreeBSD in 32-bit mode llvm-svn: 203470
-
Reed Kotler authored
llvm-svn: 203469
-
JF Bastien authored
llvm-svn: 203468
-
Samuel Benzaquen authored
Summary: Add loc() to the dynamic registry. Other fixes: - Fix the polymorphic variant value to accept an exact match, even if there are other possible conversions. - Fix specifiesTypeLoc() to not crash on an empty NestedNameSpecifierLoc. Reviewers: klimek CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2928 llvm-svn: 203467
-
Daniel Jasper authored
Before: void f() { bar([]() {}// Does not respect SpacesBeforeTrailingComments ); } After: void f() { bar([]() {} // Does not respect SpacesBeforeTrailingComments ); } This fixes llvm.org/PR19017. llvm-svn: 203466
-
Benjamin Kramer authored
No functionality change. llvm-svn: 203465
-
Daniel Sanders authored
Summary: This is a white lie to workaround a widespread bug in the -mfp64 implementation. The problem is that none of the 32-bit fpu ops mention the fact that they clobber the upper 32-bits of the 64-bit FPR. This allows MFHC1 to be scheduled on the wrong side of most 32-bit FPU ops. Fixing that requires a major overhaul of the FPU implementation which can't be done right now due to time constraints. MFHC1 is one of two affected instructions. These instructions are the only FPU instructions that don't read or write the lower 32-bits. We therefore pretend that it reads the bottom 32-bits to artificially create a dependency and prevent the scheduler changing the behaviour of the code. The other instruction is MTHC1 which will be fixed once I've have found a failing test case for it. The testcase is test-suite/SingleSource/UnitTests/Vector/simple.c when given TARGET_CFLAGS="-mips32r2 -mfp64 -mmsa". Reviewers: jacksprat, matheusalmeida Reviewed By: jacksprat Differential Revision: http://llvm-reviews.chandlerc.com/D2966 llvm-svn: 203464
-
Ed Maste authored
What was use_iterator is now user_iterator. Also switch to range-based APIs, as in Clang r203365. llvm-svn: 203463
-
Tobias Grosser authored
Older isl versions did not properly guard all function declarations for the use in C++. Specifically, the isl/val_gmp.h header was not properly guarded. This patch ensures we have the proper guards in place and do not accidentally link to name-mangled C++ versions of those functions that are not available in libisl.so. llvm-svn: 203462
-
Aaron Ballman authored
Reverting llvm::distance changes to use std::distance with iterators instead, per post-commit review feedback. Replacing llvm::copy changes with SmallVector range-based construction which is a considerably cleaner approach. llvm-svn: 203461
-
Aaron Ballman authored
Removing llvm::distance and llvm::copy for iterator_range based on post-commit review feedback. Adding an explicit range-based constructor to SmallVector, which supersedes the llvm::copy functionality. llvm-svn: 203460
-
Matheus Almeida authored
llvm-svn: 203459
-
Alexander Kornienko authored
Summary: If we need to break the second line here: // something: aaaaa aaaaa aaaaaa aaaaa aaaaa // aaaaa aaaaa aaaaaa aaaaa aaaaa aaaaa with the patch it will be turned to // something: aaaaa aaaaa aaaaaa aaaaa aaaaa // aaaaa aaaaa aaaaaa aaaaa aaaaa // aaaaa instead of // something: aaaaa aaaaa aaaaaa aaaaa aaaaa // aaaaa aaaaa aaaaaa aaaaa aaaaa // aaaaa Reviewers: djasper, klimek Reviewed By: klimek CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2988 llvm-svn: 203458
-
Alexander Kornienko authored
Summary: This is immediately useful for generating macro expansion notes, and may be useful for other things later on. Reviewers: klimek, djasper Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2950 llvm-svn: 203457
-
Tobias Grosser authored
llvm-svn: 203456
-
Robert Lytton authored
llvm-svn: 203455
-
Daniel Jasper authored
Before: int c = []()->int { return 2; }(); After: int c = []() -> int { return 2; }(); llvm-svn: 203452
-
Alexander Kornienko authored
Summary: Peter, I guess, this can help you in testing your check. Reviewers: djasper, pcc, klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2989 llvm-svn: 203451
-
Tim Northover authored
The function was making too many assumptions about its input: 1. The NEON_VDUP optimisation was far too aggressive, assuming (I think) that the input would always be BUILD_VECTOR. 2. We were treating most unknown concats as legal (by returning Op rather than SDValue()). I think only concats of pairs of vectors are actually legal. http://llvm.org/PR19094 llvm-svn: 203450
-
Jason Molenda authored
Seed the QueueItem objects with the item_refs and addresses when they are fetched in one batch. If additional information is needed from the QueueItem, fetch it lazily one pending item per function call. <rdar://problem/16270007>, <rdar://problem/16032150> llvm-svn: 203449
-
Chandler Carruth authored
as well. I don't see any particular need but it imposes no cost to support it and it makes the API cleaner. llvm-svn: 203448
-
Chandler Carruth authored
now that there is essentially no cost to doing so. Yay C++11. llvm-svn: 203447
-
NAKAMURA Takumi authored
llvm-svn: 203446
-
NAKAMURA Takumi authored
llvm-svn: 203445
-
Craig Topper authored
llvm-svn: 203444
-
Marshall Clow authored
Fix bug I introduced (enabling implicit conversions from compare function to map) in r202994. Thanks to Sebastian Redl for the catch. llvm-svn: 203443
-
Craig Topper authored
llvm-svn: 203442
-
Chandler Carruth authored
and caught by the MSan bootstrap build bot. This should hopefully get the bot green at long last. llvm-svn: 203441
-
Craig Topper authored
llvm-svn: 203440
-
Craig Topper authored
llvm-svn: 203439
-
Chandler Carruth authored
commit. Sorry for the churn, just trying to keep it out of any functionality changed. llvm-svn: 203438
-
Chandler Carruth authored
the stack of the analysis group because they are all immutable passes. This is made clear by Craig's recent work to use override systematically -- we weren't overriding anything for 'finalizePass' because there is no such thing. This is kind of a lame restriction on the API -- we can no longer push and pop things, we just set up the stack and run. However, I'm not invested in building some better solution on top of the existing (terrifying) immutable pass and legacy pass manager. llvm-svn: 203437
-
NAKAMURA Takumi authored
- Use constructor instead of initializer list. - Disable ManyUnusedBits for now. llvm-svn: 203436
-
Chandler Carruth authored
llvm-svn: 203435
-
Chandler Carruth authored
lines under 80-columns, etc. llvm-svn: 203434
-
Craig Topper authored
llvm-svn: 203433
-
Chandler Carruth authored
clang-format, but with some modifications by me where it got things wrong or got confused. llvm-svn: 203432
-
Chandler Carruth authored
constructors from the classes which only have a single reference member to many other places. This resulted in them copying their single member instead of moving. =/ Fix this. There's really not a useful test to add sadly because these move constructors are only called when something deep inside some standard library implementation *needs* to move them. Many of the types aren't even user-impacting types. Or, the objects are copyable anyways and so the result was merely a performance problem rather than a correctness problem. Anyways, thanks for the review. And this is a great example of why I wish I colud have the compiler write these for me. llvm-svn: 203431
-
David Majnemer authored
This is fallout from r203429. llvm-svn: 203430
-
David Majnemer authored
Split by comma once instead of multiple times. Moving this upfront makes the rest of the code considerably simpler. No functional change. llvm-svn: 203429
-