Displaying 1 50 of 4,658,535 commits (0.232s)

LLVM — llvm/trunk/lib/Target/X86 X86InstrAVX512.td X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 avx512vl-vec-masked-cmp.ll avx512vl-intrinsics-upgrade.ll

Recommitting rL305465 after fixing bug in TableGen in rL306251 & rL306371

[X86][AVX512] Improve lowering of AVX512 compare intrinsics (remove redundant shift 
left+right instructions).

AVX512 compare instructions return v*i1 types.
In cases where the number of elements in the returned value are less than 8, clang adds 
zeroes to get a mask of v8i1 type.
Later on it's replaced with CONCAT_VECTORS, which then is lowered to many DAG nodes 
including insert/extract element and shift right/left nodes.
The fact that AVX512 compare instructions put the result in a k register and zeroes all 
its upper bits allows us to remove the extra nodes simply by copying the result to the 
required register class.

When lowering, identify these cases and transform them into an INSERT_SUBVECTOR node 
(marked legal), then catch this pattern in instructions selection phase and transform it 
into one avx512 cmp instruction.

Differential Revision: https://reviews.llvm.org/D33188

LLVM — lldb/trunk/include/lldb/Host/windows ConnectionGenericFileWindows.h

Fix windows build for the Connection move

LLVM — llvm/trunk/include/llvm/ExecutionEngine/Orc IRTransformLayer.h

Add missing include. Should fix modules libstdc++ builds.

FreeBSD Ports — head/math/libxlsxwriter distinfo Makefile, head/math/libxlsxwriter/files patch-Makefile

Update to 0.7.0

LLVM — lldb/trunk/include/lldb/Symbol FuncUnwinders.h DWARFCallFrameInfo.h, lldb/trunk/source/Commands CommandObjectTarget.cpp

Add debug_frame section support

Summary:
This is a beefed-up version of D33504, which adds support for dwarf 4
debug_frame section format.

The main difference here is that the decision whether to use eh_frame or
debug_frame is done on a per-function basis instead of per-object file.
This is necessary because one module can contain both sections (for
example, the start files added by the linker will typically pull in
eh_frame), but we want to be able to access both, for maximum
information.

I also add unit test for parsing various CFI formats (eh_frame,
debug_frame v3 and debug_frame v4).

Reviewers: jasonmolenda, clayborg

Subscribers: mgorny, aprantl, abidh, lldb-commits, tatyana-krasnukha

Differential Revision: https://reviews.llvm.org/D34613

LLVM — cfe/trunk/include/clang/StaticAnalyzer/Checkers Checkers.td, cfe/trunk/lib/StaticAnalyzer/Checkers UnixAPIChecker.cpp

[analyzer] Move zero-size allocation checks to optin.portability.

This is a new checker package. It contains checkers that highlight
well-documented implementation-defined behavior. Such checkers are only useful
to developers that intend to write portable code. Code that is only compiled for
a single platform should be allowed to rely on this platform's specific
documented behavior.

rdar://problem/30545046

Differential Revision: https://reviews.llvm.org/D34102

FreeBSD Ports — head/sysutils/iohyve distinfo Makefile

sysutils/iohyve: Update to 0.7.9
Changelog: https://github.com/pr1ntf/iohyve/releases

FreeBSD — stable/11/sys/i386/isa npx.c

MFC r320307:
Fix indent.

Approved by:        re (marius)
Delta File
+1 -1 stable/11/sys/i386/isa/npx.c
+1 -1 1 file

LLVM — lldb/trunk/include/lldb/Breakpoint Breakpoint.h BreakpointOptions.h, lldb/trunk/include/lldb/Core StructuredData.h Event.h

Move StructuredData from Core to Utility

Summary:
It had a dependency on StringConvert and file reading code, which is not
in Utility. I've replaced that code by equivalent llvm operations.

I've added a unit test to demonstrate that parsing a file still works.

Reviewers: zturner, jingham

Subscribers: kubamracek, mgorny, lldb-commits

Differential Revision: https://reviews.llvm.org/D34625

FreeBSD — head/sys/arm64/include atomic.h

Some of the atomic_clear_* functions were incorrectly defined to be an
atomic add. Correct these, fixing a NULL-pointer dereference in netgraph.

PR:                220273
MFC after:        3 days
Sponsored by:        DARPA, AFRL
Delta File
+4 -3 head/sys/arm64/include/atomic.h
+4 -3 1 file

pfSense — src/usr/local/share/locale/af/LC_MESSAGES pfSense.po, src/usr/local/share/locale/ar/LC_MESSAGES pfSense.po

Update translation files

pfSense — src/usr/local/share/locale/pot pfSense.pot

Regenerate pot

LLVM — llvm/trunk/lib/CodeGen CodeGenPrepare.cpp, llvm/trunk/lib/CodeGen/MIRParser MIParser.cpp

fix trivial typos, NFC

succesor -> successor

LLVM — cfe/trunk/lib/Sema SemaDeclCXX.cpp, cfe/trunk/test/Index ctor-init-source-loc.cpp

Recommit r306103: PR26195: Set correct NestedNameSpecifierLoc for the
dependent initializer

This commit fixes incorrect source positions of dependent c'tor initializers
like in the following code:

template<typename MyBase>
struct Derived: MyBase::InnerIterator
{

Derived() : MyBase::InnerIterator() {} /// This line is problematic: all positions point 
to InnerIterator and nothing points to MyBase
};

Patch by Serge Preis!

Differential Revision: https://reviews.llvm.org/D32439

LLVM — lldb/trunk/include/lldb/Core Connection.h, lldb/trunk/include/lldb/Host IOObject.h MainLoopBase.h

Move Connection and IOObject interfaces to Utility module

Summary:
These interfaces have no dependencies, so it makes sense for them to be
in the lowest level modules, to make sure that other parts of the
codebase can use them without introducing loops.

The only exception here is the Connection::CreateDefaultConnection
method, which I've moved to Host, as it instantiates concrete
implementations, and that's where the implementations live.

Reviewers: jingham, zturner

Subscribers: lldb-commits, mgorny

Differential Revision: https://reviews.llvm.org/D34400

LLVM — llvm/trunk/lib/Target/ARM ARMLegalizerInfo.cpp, llvm/trunk/test/CodeGen/ARM/GlobalISel arm-instruction-select.mir arm-legalizer.mir

[ARM] GlobalISel: Support G_SELECT for pointers

All we need to do is mark it as legal, otherwise it's just like s32.

LLVM — llvm/trunk/test/CodeGen/X86 avx512-arith.ll

[X86][AVX512] Regenerate avx512 arithmetic tests
Delta File
+129 -129 llvm/trunk/test/CodeGen/X86/avx512-arith.ll
+129 -129 1 file

LLVM — llvm/trunk/lib/Target/AArch64 AArch64InstructionSelector.cpp, llvm/trunk/test/CodeGen/AArch64/GlobalISel select-trunc.mir

[globalisel][tablegen] Add support for EXTRACT_SUBREG.

Summary:
After this patch, we finally have test cases that require multiple
instruction emission.

Depends on D33590

Reviewers: ab, qcolombet, t.p.northover, rovka, kristof.beyls

Subscribers: javed.absar, llvm-commits, igorb

Differential Revision: https://reviews.llvm.org/D33596

LLVM — llvm/trunk/lib/Target/Mips/AsmParser MipsAsmParser.cpp

[mips] Refine the condition for when to use CALL16 vs a GOT displacement.

Borrow from the logic for 'jal' in MipsAsmParser::processInstruction
and add the extra condition of bypassing CALL16 if the destination symbol
is an ELF symbol with STB_LOCAL binding.

Patch by: John Baldwin

Reviewers: sdardis

Differential Revision: https://reviews.llvm.org/D33999

FreeBSD — stable/11/lib/libc/sys mmap.2

MFC r320314:
Remove the description of MAP_HASSEMAPHORE.

Approved by:        re (marius)
Delta File
+1 -4 stable/11/lib/libc/sys/mmap.2
+1 -4 1 file

LLVM — cfe/trunk/unittests/Format FormatTestProto.cpp

[clang-format] Add a test for associative map proto buffer fields

Summary:
The test suite was missing a test about associative maps:
https://developers.google.com/protocol-buffers/docs/proto3#maps

Reviewers: djasper

Reviewed By: djasper

Subscribers: cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D34623

FreeBSD Ports — head/devel/horde-whups distinfo Makefile, head/devel/pear-Horde_Cli distinfo Makefile

Horde package update:

security/pear-Horde_Auth 2.2.1 -> 2.2.2
devel/pear-Horde_Cli 2.2.3 -> 2.2.4
devel/pear-Horde_Core 2.29.0 -> 2.29.1
security/pear-Horde_Crypt 2.7.8 -> 2.7.9
dns/pear-Horde_Idna 1.1.0 -> 1.1.1
graphics/pear-Horde_Image 2.5.0 -> 2.5.1
mail/pear-Horde_Imap_Client 2.29.12 -> 2.29.13
textproc/pear-Horde_JavascriptMinify 1.1.3 -> 1.1.4
mail/pear-Horde_ListHeaders 1.2.4 -> 1.2.5
mail/pear-Horde_Mail 2.6.3 -> 2.6.4
mail/pear-Horde_Smtp 1.9.4 -> 1.9.5
devel/horde-whups 3.0.9 -> 3.0.10

LLVM — cfe/trunk/include/clang/Basic SourceLocation.h, cfe/trunk/include/clang/Frontend DiagnosticRenderer.h TextDiagnostic.h

Revert "Revert "[NFC] Refactor DiagnosticRenderer to use FullSourceLoc""

This reverts commit r305688 meaning it reintroduces r305684. To repeat:

[NFC] Refactor DiagnosticRenderer to use FullSourceLoc

Move the DiagnosticRenderer and its dependents to using FullSourceLocs
instead of a SourceLocation and SourceManager pointer. The changeset is
rather large but entirely mechanical.

This is step one to allow DiagnosticRenderer to take either
llvm::SMLocs or clang::SourceLocations.

This breaks clang-tidy and clng-query which will be fixed in a commit
soon after.

Patch by Sanne Wouda

Differential Revision: https://reviews.llvm.org/D31709

LLVM — cfe/trunk/include/clang module.modulemap, cfe/trunk/include/clang/Basic BuiltinsNios2.def TargetBuiltins.h

Reapply "Frontend support for Nios2 target"

Summary:
- Implements TargetInfo class for Nios2 target.
- Enables handling of -march and -mcpu options for Nios2 target.
- Definition of Nios2 builtin functions.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D33356

Author: belickim <mateusz.belicki at intel.com>

FreeBSD — stable/11/lib/libc/sys mmap.2

MFC r320313:
Fix typo.

Approved by:        re (marius)
Delta File
+1 -1 stable/11/lib/libc/sys/mmap.2
+1 -1 1 file

LLVM — llvm/trunk/lib/Target/ARM ARMInstructionSelector.cpp ARMRegisterBankInfo.cpp, llvm/trunk/test/CodeGen/ARM/GlobalISel arm-instruction-select.mir arm-regbankselect.mir

[ARM] GlobalISel: Support G_SELECT for i32

* Mark as legal for (s32, i1, s32, s32)
* Map everything into GPRs
* Select to two instructions: a CMP of the condition against 0, to set
  the flags, and a MOVCCr to select between the two inputs based on the
  flags that we've just set

FreeBSD Ports — head/x11/wdm Makefile

- Switch to USES=localbase
- Unsilence installation

Approved by:        portmgr blanket
Delta File
+4 -4 head/x11/wdm/Makefile
+4 -4 1 file

HardenedBSD — lib/libprocstat libprocstat.3

Add initial documentation for procstat_freeptlwpinfo and procstat_getptlwpinfo

MFC after:        1 month
MFC with:        r316286
Delta File
+27 -1 lib/libprocstat/libprocstat.3
+27 -1 1 file

FreeBSD — head/lib/libprocstat libprocstat.3

Add initial documentation for procstat_freeptlwpinfo and procstat_getptlwpinfo

MFC after:        1 month
MFC with:        r316286
Delta File
+27 -1 head/lib/libprocstat/libprocstat.3
+27 -1 1 file

LLVM — llvm/trunk/lib/Transforms/Vectorize LoopVectorize.cpp

Recommitting 306331.

Undoing revert 306338 after fixed bug: add metadata to the load instead of the
reverse shuffle added to it, retaining the original ValueMap implementation.

LLVM — llvm/trunk/test/CodeGen/PowerPC anon_aggr.ll

[PowerPC] fix incorrect processor name for -mcpu in a test case

to surpress warnings. ppc970 should be 970 (or g5)

FreeBSD Ports — head/java/openjdk8 Makefile

Add a new ALSA default option to make it possible to disable ALSA
support and build the JDK without an ALSA dependency

PR:                219125
Reviewed by:        jbeich
Approved by:        mat (mentor), java (maintainer timeout, 6+ weeks)
Differential Revision:        https://reviews.freebsd.org/D11331
Delta File
+10 -5 head/java/openjdk8/Makefile
+10 -5 1 file

LLVM — llvm/trunk/lib/Transforms/Scalar SROA.cpp, llvm/trunk/test/Transforms/SROA preserve-nonnull.ll

[SROA] Fix PR32902 by more carefully propagating !nonnull metadata.

This is based heavily on the work done ni D34285. I mostly wanted to do
test cleanup for the author to save them some time, but I had a really
hard time understanding why it was so hard to write better test cases
for these issues.

The problem is that because SROA does a second rewrite of the loads and
because we *don't* propagate !nonnull for non-pointer loads, we first
introduced invalid !nonnull metadata and then stripped it back off just
in time to avoid most ways of this PR manifesting. Moving to the more
careful utility only fixes this by changing the predicate to look at the
new load's type rather than the target type. However, that *does* fix
the bug, and the utility is much nicer including adding range metadata
to model the nonnull property after a conversion to an integer.

However, we have bigger problems because we don't actually propagate
*range* metadata, and the utility to do this extracted from instcombine
isn't really in good shape to do this currently. It *only* handles the
case of copying range metadata from an integer load to a pointer load.
It doesn't even handle the trivial cases of propagating from one integer
load to another when they are the same width! This utility will need to
be beefed up prior to using in this location to get the metadata to
fully survive.


    [36 lines not shown]

FreeBSD Ports — head/net/quiterss distinfo Makefile

Update to 0.18.6

PR:                220192
Submitted by:        lbartoletti at tuxfamily.org (maintainer)
Approved by:        mat (mentor)
Differential Revision:        https://reviews.freebsd.org/D11371

FreeBSD Ports — head/lang/chibi-scheme Makefile files

- Add soname to libchibi-scheme.so
- Fix installed file modes
- Enable tests
- Add LICENSE_FILE

Approved by:        mat (mentor)
Differential Revision:        https://reviews.freebsd.org/D11353
Delta File
+18 -4 head/lang/chibi-scheme/Makefile
+0 -0 head/lang/chibi-scheme/files/
+18 -4 2 files

LLVM — cfe/trunk/lib/AST Expr.cpp, cfe/trunk/unittests/Tooling CastExprTest.cpp CMakeLists.txt

Make CastExpr::getSubExprAsWritten look through implicit temporary under 
CK_ConstructorConversion

With

    struct S1 {};
    struct S2 { operator S1(); };
    S1 f(S2 s) { return static_cast<S1>(s); }

the static_cast expr is

    CXXStaticCastExpr 0x... 'struct S1' static_cast<struct S1> <ConstructorConversion>
    `-CXXConstructExpr 0x... 'struct S1' 'void (struct S1 &&) noexcept' elidable

    `-MaterializeTemporaryExpr 0x... 'struct S1' xvalue
      `-ImplicitCastExpr 0x... 'struct S1' <UserDefinedConversion>
        `-CXXMemberCallExpr 0x... 'struct S1'
          `-MemberExpr 0x... '<bound member function type>' .operator S1 0x...
            `-DeclRefExpr 0x... 'struct S2' lvalue ParmVar 0x... 's' 'struct S2'

getSubExprAsWritten used to return the MaterializeTemporaryExpr (of type S1)
under the CXXConstructExpr, instead of unwinding further to the DeclRefExpr (of
type S2) at the bottom.

Differential Revision: https://reviews.llvm.org/D22128

FreeBSD — head/lib/libprocstat libprocstat.c

procstat_getptlwpinfo(..): clarify the fact that KVM/SYSCTL support
isn't supported

This will make the error message reported in bug 220023 a bit more
intuitive for end-users that don't have access to the source code to
decode the procstat->type argument.

MFC after:        1 month
MFC with:        r316286
PR:                220023

HardenedBSD — lib/libprocstat libprocstat.c

procstat_getptlwpinfo(..): clarify the fact that KVM/SYSCTL support
isn't supported

This will make the error message reported in bug 220023 a bit more
intuitive for end-users that don't have access to the source code to
decode the procstat->type argument.

MFC after:        1 month
MFC with:        r316286
PR:                220023
Delta File
+6 -0 lib/libprocstat/libprocstat.c
+6 -0 1 file

LLVM — llvm/trunk/include/llvm/ExecutionEngine/Orc IRTransformLayer.h

Add missing forward declaraion.

LLVM — llvm/trunk/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/trunk/test/CodeGen/AMDGPU spill-to-smem-m0.ll

AMDGPU: M0 operands to spill/restore opcodes are dead

Summary:
With scalar stores, M0 is clobbered and therefore marked as implicitly
defined. However, it is also dead.

This fixes an assertion when the Greedy Register Allocator decides to
optimize a spill/restore pair away again (via tryHintsRecoloring).

Reviewers: arsenm

Subscribers: qcolombet, kzhuravl, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Differential Revision: https://reviews.llvm.org/D33319

LLVM — cfe/trunk/include/clang/AST RecursiveASTVisitor.h, cfe/trunk/unittests/Tooling RecursiveASTVisitorTest.cpp

Make sure TraverseInitListExpr visits InitListExpr exactly twice

... once each for the syntactic and semantic form. Without this fix, behavior
of the newly added tests would have been

InitListExprIsPreOrderVisitedTwice:
 syntactic: 1
 semantic: 2

InitListExprIsPostOrderVisitedTwice:
 syntactic: 0
 semantic: 1

InitListExprIsPreOrderNoQueueVisitedTwice:
 syntactic: 1
 semantic: 2

InitListExprIsPostOrderNoQueueVisitedTwice:
 syntactic: 0
 semantic: 2

FreeBSD Ports — head/math Makefile R-cran-sf, head/math/R-cran-sf Makefile pkg-descr

- Add new port math/R-cran-sf

  Support for simple features, a standardized way to encode spatial
  vector data. Binds to GDAL for reading and writing data, to GEOS
  for geometrical operations, and to Proj.4 for projection conversions
  and datum transformations.

  WWW: https://cran.r-project.org/web/packages/sf/

Submitted by:        Rainer Hurling <rhurlin_AT_gwdg_DOT_de> (via private e-mail)
Delta File
+26 -0 head/math/R-cran-sf/Makefile
+6 -0 head/math/R-cran-sf/pkg-descr
+3 -0 head/math/R-cran-sf/distinfo
+1 -0 head/math/Makefile
+0 -0 head/math/R-cran-sf/
+36 -0 5 files

LLVM — cfe/trunk/unittests/Tooling TestVisitor.h

Switch TestVisitor to Lang_C via -x c

...instead of -std=c99, as the latter lead to

  error: invalid argument '-std=c99' not allowed with 'C++'

complaints in test logs

Differential Revision: https://reviews.llvm.org/D34417

LLVM — cfe/trunk/test/CodeGenObjC ivar-type-encoding.m

clang/test/CodeGenObjC/ivar-type-encoding.m: Tweak to satisfy -m32.

FreeBSD Ports — head/astro/stellarium pkg-plist distinfo

- Update Stellarium and official User Guide to version 0.16.0
- GPS support has to be disabled for now because `Mk/bsd.qt.mk'
  does not know about Qt5Positioning component yet

TIMESTAMP (stellarium-0.16.0.tar.gz) = 1498032288

LLVM — llvm/trunk/utils/TableGen CodeGenDAGPatterns.cpp

[TableGen] Fix bug in TableGen CodeGenPatterns when adding variants of the patterns.

All patterns reside in a std::vector container, where new variants are added to it using 
the standard library's emplace_back function.
When calling this with a new element while there is no enough allocated space, a bigger 
space is allocated and all the old info in the small vector is copied to the newly 
allocated vector, then the old vector is freed.
The problem is that before doing this "copying", we take a reference of one of the 
elements in the old vector, and after the "copying" we add it to the new vector.
As the old vector is freed after the copying, the reference now does not point to a valid 
element.

Added new function to the API of CodeGenDAGPatterns class to return the same information 
as a copy in order to avoid this issue.

This was revealed in rL305465 that added many patterns and forced the reallocation of the 
vector which caused crashes in windows bots.

Differential Revision: https://reviews.llvm.org/D34341

FreeBSD Ports — head/dns/axfr2acl Makefile distinfo, head/dns/dnsdbck Makefile distinfo

- Update DNS Tools ports to their most recent versions
- Switch to HTTP instead of FTP for MASTER_SITES
- Relinquish control, they are stable enough to fly solo

FreeBSD Ports — head/science/R-cran-bayesm distinfo Makefile

- Update to 3.1.0

LLVM — llvm/trunk/test/CodeGen/X86/GlobalISel select-fadd-scalar.mir select-fdiv-scalar.mir

[GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, 
G_FSUB, G_FMUL, G_FDIV. NFC.

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp

Fixed the warning introduced by r306289 to make ubuntu-gcc7.1-werror bot green.