- Jul 24, 2016
-
-
Rui Ueyama authored
llvm-svn: 276543
-
George Burgess IV authored
liveOnEntry is always a MemoryDef; asserting that a MemoryPhi isn't liveOnEntry, while correct, isn't very helpful. :) llvm-svn: 276542
-
Bruno Cardoso Lopes authored
Some bots are not happy with the change. This reverts commit d307ca28083065851ad969444f3c063562f2d4bd. llvm-svn: 276541
-
Rui Ueyama authored
llvm-svn: 276540
-
Bruno Cardoso Lopes authored
sanitizer_common_interceptors.inc:667:12: warning: address of function 'memchr' will always evaluate to 'true' [-Wpointer-bool-conversion] if (REAL(memchr)) { ~~ ^~~~~~ llvm-svn: 276539 -
Rui Ueyama authored
createSections is getting longer, so it is probably time to split. Differential Revision: https://reviews.llvm.org/D22730 llvm-svn: 276538
-
Eric Fiselier authored
That paper also has changes to any/optional but those will be implemented later. llvm-svn: 276537
-
Davide Italiano authored
Otherwhise undefined references to symbols defined in linker scripts are never resolved. Differential Revision: https://reviews.llvm.org/D22664 llvm-svn: 276536
-
Simon Pilgrim authored
llvm-svn: 276535
-
Simon Pilgrim authored
Added more vXi16 and vXi8 tests llvm-svn: 276534
-
Eric Fiselier authored
Summary: This patch attempts to fix the undefined behavior in __hash_table by changing the node pointer types used throughout. The pointer types are changed for raw pointers in the current ABI and for fancy pointers in ABI V2 (since the fancy pointer types may not be ABI compatible). The UB in `__hash_table` arises because tree downcasts the embedded end node and then deferences that pointer. Currently there are 2 node types in __hash_table: * `__hash_node_base` which contains the `__next_` pointer. * `__hash_node` which contains `__hash_` and `__value_`. Currently the bucket list, iterators, and `__next_` pointers store pointers to `__hash_node` even though they all need to store `__hash_node_base` pointers. This patch makes that change by introducing a `__next_pointer` typedef which is a pointer to `__hash_node` in the current ABI and `__hash_node_base` afterwards. One notable change is to the type of `__bucket_list` which used to be defined as `unique_ptr<__node_pointer[], ...>` and is now `unique_ptr<__next_pointer[], ...>` meaning that we now allocate and deallocate different types using a different allocator. I'm going to give this part of the change more thought since it may introduce compatibility issues. This change is similar to D20786. Reviewers: mclow.lists, EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D20787 llvm-svn: 276533
-
Aaron Ballman authored
Change some more llvm highlighting instances to be text instead. It seems that Pygment does not handle "token" or "none" yet, and this caused the documentation bot to go red. Patch by Gor Nishanov. llvm-svn: 276532
-
Aaron Ballman authored
Switching the highlighting from llvm to none in an attempt to appease the build bot (http://lab.llvm.org:8011/builders/llvm-sphinx-docs/builds/11984/steps/docs-llvm-html/logs/stdio). llvm-svn: 276531
-
Aaron Ballman authored
llvm-svn: 276530
-
Simon Dardis authored
As agreed with Daniel Sanders, I'm taking over as code owner for the MIPS backend. llvm-svn: 276529
-
Craig Topper authored
llvm-svn: 276528
-
Simon Pilgrim authored
llvm-svn: 276527
-
- Jul 23, 2016
-
-
Simon Pilgrim authored
Demonstrate difference in codegen discussed on PR14760 llvm-svn: 276526
-
Rui Ueyama authored
I don't think this typedef contributes to readability. llvm-svn: 276525
-
Rui Ueyama authored
llvm-svn: 276524
-
Sanjay Patel authored
llvm-svn: 276523
-
Chandler Carruth authored
should fix the build with GCC 4.9 at least. Not sure if this is the right name or fix, but I've followed up on the original commit. llvm-svn: 276522
-
Craig Topper authored
llvm-svn: 276521
-
Craig Topper authored
[X86] Make one of the FMA3 commuting methods static. Remove a call to isFMA3 just to get the IsIntrisic flag, instead get it during the first call and pass it along. NFC llvm-svn: 276520
-
Craig Topper authored
llvm-svn: 276519
-
Matt Arsenault authored
This has been dead since r269479 llvm-svn: 276518
-
Xinliang David Li authored
Patch by Jake VanAdrighem Differential Revision: http://reviews.llvm.org/D22608 llvm-svn: 276517
-
Xinliang David Li authored
Patch by Jake VanAdrighem Differential Revision: http://reviews.llvm.org/D22607 llvm-svn: 276516
-
Sean Silva authored
This unblocks the new PM part of River's patch in https://reviews.llvm.org/D22706 Conveniently, this same change was needed for D21921 and so these changes are just spun out from there. llvm-svn: 276515
-
Faisal Vali authored
Additionally, for pre-C++1z, instead of forbidding a lambda's closure type from being a literal type through circumlocutorily setting HasNonLiteralTypeFieldsOrBases falsely to true -- handle lambda's more directly in CXXRecordDecl::isLiteral(). One additional small step towards implementing constexpr-lambdas. Thanks to Richard Smith for his review! https://reviews.llvm.org/D22662 llvm-svn: 276514
-
David Majnemer authored
This is the first patch in the coroutine series. It contains the documentation for the coroutine intrinsics and their usage. Patch by Gor Nishanov! Differential Revision: https://reviews.llvm.org/D22603 llvm-svn: 276513
-
Xinliang David Li authored
llvm-svn: 276512
-
Eric Fiselier authored
llvm-svn: 276511
-
David Majnemer authored
While we handed loads past the end of an array, we didn't handle loads _before_ the array. This fixes PR28062. N.B. While the bug in the code is obvious, I am struggling to craft a test case which is reasonable in size. llvm-svn: 276510
-
Richard Smith authored
struct a bit bigger under MSVC (this shouldn't be a big deal; we typically allocate no more than two of these at a time, on the stack). llvm-svn: 276509
-
Richard Smith authored
'module' and 'import' as keywords when the flag is specified. llvm-svn: 276508
-
Eric Fiselier authored
There is a bug in Clang 3.6 and earlier that causes compile failures. I suspect it's due to the usage of member function parameter names in the attributes. llvm-svn: 276507
-
Eric Fiselier authored
Summary: This patch uses the __attribute__((enable_if)) hack suggested by @rsmith to diagnose invalid arguments when possible. In order to diagnose an invalid argument `m` to `f(m)` we provide an additional overload of `f` that is only enabled when `m` is invalid. When that function is enabled it uses __attribute__((unavailable)) to produce a diagnostic message. Reviewers: mclow.lists, rsmith, jfb, EricWF Subscribers: bcraig, jfb, rsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D22557 llvm-svn: 276506
-
Sanjoy Das authored
This change lets us prove things like "{X,+,10} s< 5000" implies "{X+7,+,10} does not sign overflow" It does this by replacing replacing getConstantDifference by computeConstantDifference (which is smarter) in isImpliedCondOperandsViaRanges. llvm-svn: 276505 -
Vedant Kumar authored
It's been pointed out that arbitrarily spraying raw profiles into a build directory is insane. Doing this wastes a tremendous amount of space and is also very lossy, since the test harness tends to wipe away temporary sub-directories (which usually contain relevant profile data). The new default is a `profiles` directory inside of the build dir. llvm-svn: 276504
-