- Feb 04, 2017
-
-
Richard Smith authored
until after we've checked whether 'auto' is valid in the current language mode. llvm-svn: 294078
-
Ahmed Bougacha authored
Based on a review of D29478 by Kristof Beyls. llvm-svn: 294077
-
Ahmed Bougacha authored
This lets us split out PatternToMatch from the top-level RuleMatcher, where it doesn't really belong. That, in turn, lets us eventually generate RuleMatchers from non-SelectionDAG sources. llvm-svn: 294076
-
Ahmed Bougacha authored
llvm-svn: 294075
-
Ahmed Bougacha authored
We don't try very hard to format the emitted code, but newlines are an easy way to make it more readable. llvm-svn: 294074
-
Ahmed Bougacha authored
Cleanup the check added in r293990 using the Triple helpers. llvm-svn: 294073
-
Eugene Zelenko authored
This is preparation to reduce MCExpr.h dependencies. llvm-svn: 294072
-
Kamil Rytarowski authored
Summary: The current version of LLDB installs six.py into global python library directory. This approach produces conflicts downstream with distribution's py-six copy. Introduce new configure option LLDB_USE_SYSTEM_SIX (disabled by default). Once specified as TRUE, six.py won't be installed to Python's directory. Add new option in finishSwigWrapperClasses.py, namely --useSystemSix. Sponsored by <The NetBSD Foundation> Reviewers: mgorny, emaste, clayborg, joerg, labath Reviewed By: labath Subscribers: #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D29405 llvm-svn: 294071
-
Brendon Cahoon authored
An assert occurs when calling SlotIndexes::getInstructionIndex with a DBG_VALUE instruction because the function expects an instruction with a slot index. However, there is no slot index for a DBG_VALUE instruction. Differential Revision: https://reviews.llvm.org/D29048 llvm-svn: 294070
-
Eugene Zelenko authored
This is preparation to reduce MCExpr.h dependencies. llvm-svn: 294069
-
Eugene Zelenko authored
This is preparation to reduce MCExpr.h dependencies. llvm-svn: 294068
-
Eugene Zelenko authored
This is preparation to reduce MCExpr.h dependencies. llvm-svn: 294067
-
Sanjay Patel authored
This patch is based on the llvm-dev discussion here: http://lists.llvm.org/pipermail/llvm-dev/2017-January/109631.html Folding to i1 should always be desirable because that's better for value tracking and we have special folds for i1 types. I checked for other users of shouldChangeType() where this might have an effect, but we already handle the i1 case differently than other types in all of those cases. Side note: the default datalayout includes i1, so it seems we only find this gap in shouldChangeType + phi folding for the case when there is (1) an explicit datalayout without i1, (2) casting to i1 from a legal type, and (3) a phi with exactly 2 incoming casted operands (as Björn mentioned). Differential Revision: https://reviews.llvm.org/D29336 llvm-svn: 294066
-
Matthias Braun authored
While there is nothing to do at link time to get pthreads support on darwin, specifying the argument is fine and we should not warn about unused arguments. llvm-svn: 294065
-
Bob Haarman authored
llvm-svn: 294064
-
Amaury Sechet authored
Summary: As per title. I ran into that limitation of the API doing some other work, so I though that'd be a nice addition. Reviewers: jroelofs, compnerd, majnemer Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29503 llvm-svn: 294063
-
Michael Kruse authored
llvm-svn: 294062
-
Kostya Serebryany authored
llvm-svn: 294061
-
Rafael Espindola authored
Now that each OutputSectionCommand maps to just one OutputSection, we can remove a few std::vectors. llvm-svn: 294060
-
Sanjay Patel authored
llvm-svn: 294058
-
Rafael Espindola authored
llvm-svn: 294057
-
Kostya Kortchinsky authored
Summary: The assumption __sanitizer_get_heap_size() == 0 (introduced in D29341) at the start of a program appears to be incorrect on some ARM machines (SizeClassAllocator32). This should fix the test while I investigate the issue. Reviewers: kcc, alekseyshl Reviewed By: alekseyshl Subscribers: aemerson, rengolin, llvm-commits Differential Revision: https://reviews.llvm.org/D29516 llvm-svn: 294056
-
Xinliang David Li authored
Differential Revision: http://reviews.llvm.org/D29474 llvm-svn: 294055
-
Rafael Espindola authored
Now that it doesn't impact which sections are merged, this is not a problem. llvm-svn: 294054
-
Eugene Zelenko authored
This is preparation to reduce MCExpr.h dependencies. llvm-svn: 294053
-
Eugene Zelenko authored
This is preparation to reduce MCExpr.h dependencies. llvm-svn: 294052
-
Eugene Zelenko authored
This is preparation to reduce MCExpr.h dependencies. llvm-svn: 294051
-
Sanjay Patel authored
The code comments didn't match the code logic, and we didn't actually distinguish the fake unary (not/neg/fneg) operators from arguments. Adding another level to the weighting scheme provides more structure and can help simplify the pattern matching in InstCombine and other places. I fixed regressions that would have shown up from this change in: rL290067 rL290127 But that doesn't mean there are no pattern-matching logic holes left; some combines may just be missing regression tests. Should fix: https://llvm.org/bugs/show_bug.cgi?id=28296 Differential Revision: https://reviews.llvm.org/D27933 llvm-svn: 294049
-
Rafael Espindola authored
Now that we combine multiple synthetic merge section into one output section there is no point in trying to propagate a value. llvm-svn: 294048
-
Artem Tamazov authored
llvm-svn: 294047
-
Zachary Turner authored
llvm-svn: 294046
-
Sanjay Patel authored
llvm-svn: 294040
-
Matt Arsenault authored
Use typedef, remove unnecessary enum, line wraps. llvm-svn: 294039
-
Matt Arsenault authored
llvm-svn: 294038
-
Kostya Kortchinsky authored
Summary: The local and global quarantine sizes were not offering a distinction for 32-bit and 64-bit platforms. This is addressed with lower values for 32-bit. When writing additional tests for the quarantine, it was discovered that when calling some of the allocator interface function prior to any allocation operation having occured, the test would crash due to the allocator not being initialized. This was addressed by making sure the allocator is initialized for those scenarios. Relevant tests were added in interface.cpp and quarantine.cpp. Last change being the removal of the extraneous link dependencies for the tests thanks to rL293220, anf the addition of the gc-sections linker flag. Reviewers: kcc, alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29341 llvm-svn: 294037
-
Pavel Labath authored
llvm-svn: 294036
-
Mike Aizatsky authored
Reviewers: kcc Differential Revision: https://reviews.llvm.org/D29502 llvm-svn: 294035
-
Sanjay Patel authored
llvm-svn: 294034
-
Simon Dardis authored
Currently unsupported. llvm-svn: 294033
-
Stanislav Mekhanoshin authored
This has quite positive performance impact according to measurements. Before previous fixes to limit the optimization that was too high and blowed compile time and scratch usage, but now this is gone and we can bump the threshold. Differential Revision: https://reviews.llvm.org/D29505 llvm-svn: 294032
-