- Feb 05, 2017
-
-
Eric Fiselier authored
It is my opinion that libc++ should never use `<cassert>`, including in the `dylib`. This patch remove all uses of `assert` from within libc++ and replaces most of them with `_LIBCPP_ASSERT` instead. Additionally this patch turn `LIBCXX_ENABLE_ASSERTIONS` off by default, because the standard library should not be aborting user programs unless explicitly asked to. llvm-svn: 294107
-
Eric Fiselier authored
llvm-svn: 294106
-
Amaury Sechet authored
llvm-svn: 294105
-
Alex Denisov authored
Triple::objectFormat defaults to an Elf format. Changing objectFormat to Elf doesn't make any difference. llvm-svn: 294104
-
Dimitry Andric authored
Building lld is enabled by default, but it can be disabled using the -no-lld option. Reviewers: tstellarAMD, rengolin, hans Reviewed By: hans Subscribers: grosser, wdng, emaste, llvm-commits Differential Revision: https://reviews.llvm.org/D29539 llvm-svn: 294102
-
Simon Pilgrim authored
Extra tests for D29399 llvm-svn: 294101
-
Eric Fiselier authored
Visible definitions for basic_string::assign are sometimes emitted in the dylib depending on the version of LLVM used to compile libc++. This can cause the check-cxx-abilist target to fail. This patch attempts marks the basic_string::assign templates as inline to prevent this. That way the export list is consistent across LLVM versions. llvm-svn: 294100
-
Eric Fiselier authored
llvm-svn: 294099
-
Davide Italiano authored
This is pretty much the same change made in SCCP. llvm-svn: 294098
-
Alex Denisov authored
llvm-svn: 294096
-
Alex Denisov authored
llvm-svn: 294095
-
- Feb 04, 2017
-
-
Michael Kruse authored
This function has been extracted from the upcoming DeLICM patch (https://reviews.llvm.org/D24716). In contrast to computeReachingWrite and computeArrayUnused, convertZoneToTimepoints implies a format for zones (ranges between timepoints). Zones at the moment are unique to DeLICM, but convertZoneToTimepoints makes most sense in conjunction with the previous two functions. llvm-svn: 294094
-
Michael Kruse authored
This function has been extracted from the upcoming DeLICM patch (https://reviews.llvm.org/D24716). llvm-svn: 294093
-
Michael Kruse authored
This function has been extracted from the upcoming DeLICM patch (https://reviews.llvm.org/D24716). llvm-svn: 294092
-
Amaury Sechet authored
llvm-svn: 294091
-
Xinliang David Li authored
llvm-svn: 294090
-
Craig Topper authored
llvm-svn: 294089
-
Matthias Braun authored
The code missed to check implicit operands of COPY instructions for defs/uses. Differential Revision: https://reviews.llvm.org/D29522 llvm-svn: 294088
-
Matthias Braun authored
This was originally introduced in r278321 to work around correctness problems in the ExecutionDepsFix pass; Probably also to keep the performance benefits of breaking the false dependencies which of course also affect undef operands. ExecutionDepsFix has been improved here recently (see for example r278321) so we should not need this exception any longer. Differential Revision: https://reviews.llvm.org/D29525 llvm-svn: 294087
-
Kyle Butt authored
Move a check for blocks that are not candidates for tail duplication up before the logging. Reduces logging noise. No non-logging changes intended. llvm-svn: 294086
-
Kyle Butt authored
Anything that needs to be passed to AnalyzeBranch unfortunately can't be const, or more would be const. Added const_iterator to BlockChain to allow BlockChain to be const when we don't expect to change it. llvm-svn: 294085
-
Eugene Zelenko authored
This is preparation to reduce TargetInstrInfo.h dependencies. llvm-svn: 294084
-
Craig Topper authored
llvm-svn: 294083
-
Justin Lebar authored
llvm-svn: 294082
-
Eric Christopher authored
Remove a bunch of unnecessary casts to a target specific version of TII and TRI as we're working from a target specific STI. llvm-svn: 294081
-
Amaury Sechet authored
llvm-svn: 294080
-
Bob Haarman authored
Reviewers: kcc, pcc Subscribers: mehdi_amini Differential Revision: https://reviews.llvm.org/D29523 llvm-svn: 294079
-
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
-