Displaying 1 50 of 4,667,095 commits (0.408s)

LLVM — llvm/trunk/lib/Target/AMDGPU FLATInstructions.td BUFInstructions.td, llvm/trunk/test/CodeGen/AMDGPU load-hi16.ll extract_vector_elt-i16.ll

AMDGPU: Match load d16 hi instructions

Also starts selecting global loads for constant address
in some cases. Some end up selecting to mubuf still, which
requires investigation.

We still get sub-optimal regalloc and extra waitcnts inserted
due to not really tracking the liveness of the separate register
halves.

FreeBSD — head/sys/net bpf_zerocopy.c

In r288122, we changed vm_page_unwire() so that it returns a Boolean
indicating whether the page's wire count transitioned to zero.  Use that
return value in zbuf_page_free() rather than checking the wire count.

MFC after:        1 week
Delta File
+1 -2 head/sys/net/bpf_zerocopy.c
+1 -2 1 file

LLVM — llvm/trunk/include/llvm/Analysis OptimizationDiagnosticInfo.h

DiagnosticInfoOptimizationBase: Appease g++-4.8.2 not confused to add an explicit type to 
resolve emit() as non-template function.

LLVM — llvm/trunk/lib/Target/AMDGPU AMDGPUInline.cpp AMDGPUTargetMachine.cpp, llvm/trunk/test/CodeGen/AMDGPU amdgpu-inline.ll internalize.ll

[AMDGPU] Port of HSAIL inliner

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

FreeBSD — head/sys/riscv/riscv pmap.c

Sync with amd64/arm/arm64/i386/mips pmap change r288256:

Exploit r288122 to address a cosmetic issue.  Since PV chunk pages don't
belong to a vm object, they can't be paged out.  Since they can't be paged
out, they are never enqueued in a paging queue.  Nonetheless, passing
PQ_INACTIVE to vm_page_unwire() creates the appearance that these pages
are being enqueued in the inactive queue.  As of r288122, we can avoid
this false impression by passing PQ_NONE.

MFC after:        1 week
Delta File
+1 -1 head/sys/riscv/riscv/pmap.c
+1 -1 1 file

LLVM — llvm/trunk/lib/Target/AMDGPU AMDGPUInstructions.td FLATInstructions.td, llvm/trunk/test/CodeGen/AMDGPU store-hi16.ll fneg.f16.ll

AMDGPU: Match store d16_hi instructions

FreeBSD Ports — head/graphics/drm-next-kmod Makefile distinfo

graphics/drm-next-kmod: chase base upgrades to linuxkpi. Increase version check.

Reported by:        hps
Reviewed by:        swills (mentor), hps (lkpi gplv2 sync)
Approved by:        swills (mentor), hps (lkpi gplv2 sync)
Obtained from:        FreeBSDDesktop
Differential Revision:        https://reviews.freebsd.org/D12416

LLVM — llvm/trunk/include/llvm/Analysis LoopInfo.h LoopInfoImpl.h, llvm/trunk/include/llvm/Transforms/Scalar LoopPassManager.h

Tighten the invariants around LoopBase::invalidate

Summary:
With this change:
 - Methods in LoopBase trip an assert if the receiver has been invalidated
 - LoopBase::clear frees up the memory held the LoopBase instance

This change also shuffles things around as necessary to work with this stricter invariant.

Reviewers: chandlerc

Subscribers: mehdi_amini, mcrosier, llvm-commits

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

LLVM — lldb/trunk/include/lldb/Host MainLoop.h, lldb/trunk/source/Host/common MainLoop.cpp

Rollback r313704 because of the Windows build break

FreeBSD Ports — head/net Makefile py-wmi-query, head/net/py-wmi-query Makefile pkg-descr

Add net/py-wmi-query, Python scripts to get wmi data classes in a dict

Simple Python lib to get wmi data classes in a dict.
The script wmi_query make a query and print on the screen the wmi class object.
Both keys and values will be printed for each object returned by the query.

WWW: https://github.com/kanazux/wmi-query

PR:                222451
Submitted by:        Silvio Ap Silva <alvolivre at live.com>
Delta File
+22 -0 head/net/py-wmi-query/Makefile
+5 -0 head/net/py-wmi-query/pkg-descr
+3 -0 head/net/py-wmi-query/distinfo
+1 -0 head/net/Makefile
+0 -0 head/net/py-wmi-query/
+31 -0 5 files

FreeBSD Ports — head/devel/jenkins-lts distinfo Makefile

devel/jenkins-lts: update to 2.73.1

FreeBSD Ports — head/devel/llvm50 Makefile pkg-plist, head/devel/llvm50/files clang-patch-svn-r280672

Don't install a wrapper for the not installed pp-trace program.

GC an obsolete patch.

PR:                222380

LLVM — llvm/trunk/include/llvm/BinaryFormat Wasm.h, llvm/trunk/include/llvm/ObjectYAML WasmYAML.h

LLVM — llvm/trunk/include/llvm/Analysis LoopInfoImpl.h LoopInfo.h, llvm/trunk/lib/Analysis LoopInfo.cpp

Clang-format few files to make later diffs leaner; NFC

FreeBSD Ports — head/devel/llvm-devel distinfo Makefile, head/devel/llvm-devel/files clang-patch-tools_clang_tools_clang-format_git-clang-format clang-patch-tools_clang_tools_clang-format_clang-format-sublime.py

Update to a new snapshot.

Fix location of compiler_rt libraries. [0]

Fix hardcoded clang-format version. [1]

PR:                216950 [0], 220995 [1]

LLVM — lldb/trunk/include/lldb/Host MainLoop.h, lldb/trunk/source/Host/common MainLoop.cpp

Signal polling is supported with pselect

Older Android API levels don't have ppoll, but LLDB works just fine,
since on Android it always uses pselect anyway.

DragonFlyBSD — sys/vfs/hammer2 hammer2_vfsops.c hammer2_iocom.c

hammer2 - Remove debugging, adjust iocom

* Call hammer2_iocom_uninit() before we start cleaning up the hmp.

* Remove numerous debug messages.

DragonFlyBSD — sys/kern kern_dmsg.c

kernel - Fix races in kern_dmsg.c (hammer2)

* Fix kdmsg races during shutdown which can assert or panic

* Fixes numerous hammer2 assertions or panics related to unmounting,
  including mount failures due to missing labels.
Delta File
+37 -33 sys/kern/kern_dmsg.c
+37 -33 1 file

LLVM — lld/trunk/COFF Chunks.cpp

[COFF] Adjust secrel limit check

According to Microsoft's PE/COFF documentation, a SECREL relocation is
"The 32-bit offset of the target from the beginning of its section". By
my reading, the "from the beginning of its section" implies that the
offset is unsigned.

Change from an assertion to an error, since it's possible to trigger
this condition normally for input files with very large sections, and we
should fail gracefully for those instead of asserting.

Differential Revision: https://reviews.llvm.org/D38020
Delta File
+4 -1 lld/trunk/COFF/Chunks.cpp
+4 -1 1 file

FreeBSD Ports — head/textproc/libwpd010 Makefile distinfo

Update to 0.10.2.

LLVM — llvm/trunk/lib/Transforms/Scalar GVNSink.cpp

GVNSink: Make ModelledPHIs constructor linear (and avoid edge case it worries about) by 
avoiding getIncomingValueForBlock

LLVM — llvm/trunk/lib/Transforms/Scalar GVNSink.cpp

Revert "[GVNSink] Remove dependency on SmallPtrSet iteration order."

This reverts commit r312156, because now the op and block arrays are not in the same order 
:(.

LLVM — llvm/trunk/lib/Transforms/Scalar NewGVN.cpp

NewGVN: Remove unused includes

FreeBSD Ports — head/graphics/libzmf Makefile distinfo

Update to 0.0.2.

FreeBSD Ports — head/graphics/libwpg03 Makefile distinfo

Update to 0.3.2.

LLVM — lld/trunk/COFF Driver.cpp Writer.cpp, lld/trunk/test/COFF section-size.s

[COFF] Check for sections larger than 4 GiB

Sections are limited to 4 GiB. Error out early if a section exceeds this
size, rather than overflowing the section size and getting confusing
assertion failures/segfaults later.

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

LLVM — llvm/trunk/utils/lit lit.py, llvm/trunk/utils/llvm-lit llvm-lit.in

Make lit stop writing pyc files.

Many svn-based buildbots seem to be getting stuck continually
in tree conflicts due to the output of pyc files.  I'm disabling
these as a temporary measure in an attempt to get everything
stable again.

I'll try to remove this code once I understand the problem
better.

FreeBSD Ports — head/devel/libfastjson distinfo Makefile

devel/libfastjson: Update version 0.99.5=>0.99.6

Relnotes:        https://github.com/rsyslog/libfastjson/blob/master/ChangeLog

FreeBSD Ports — head/graphics/libfreehand Makefile distinfo

Update to 0.1.2.

FreeBSD Ports — head/devel/llvm50 Makefile pkg-plist, head/devel/llvm50/files clang-patch-tools_clang_tools_clang-format_git-clang-format clang-patch-tools_clang_tools_clang-format_clang-format-sublime.py

Disable LLDB builds on 10.x as they don't link.

Attempt to correct default targets. [0]

Fix more references to clang-format50 and use a more future proof
patching approach. [1]

Build and install pp-trace with the EXTRAS target.

PR:                219779 [0], 220995 [1], 222380 [2]

HardenedBSD — sys/arm/include pmap-v4.h

Define CPU_XSCALE_CORE3 when relevant.
It was lost when cpuconf.h was deobirted.
Delta File
+1 -0 sys/arm/include/pmap-v4.h
+1 -0 1 file

FreeBSD — head/sys/arm/include pmap-v4.h

Define CPU_XSCALE_CORE3 when relevant.
It was lost when cpuconf.h was deobirted.
Delta File
+1 -0 head/sys/arm/include/pmap-v4.h
+1 -0 1 file

FreeBSD Ports — head/graphics/libcdr01 Makefile

Add LICENSE_FILE.
Delta File
+1 -0 head/graphics/libcdr01/Makefile
+1 -0 1 file

LLVM — lld/trunk/ELF SyntheticSections.cpp InputSection.h

Compact EhSectionPiece from 32 bytes to 16 bytes.

EhSectionPiece used to have a pointer to a section, but that pointer was
mostly redundant because we almost always know what the section is without
using that pointer. This patch removes the pointer from the struct.

This patch also use uint32_t/int32_t instead of size_t to represent
offsets that are hardly be larger than 4 GiB. At the moment, I think it is
OK even if we cannot handle .eh_frame sections larger than 4 GiB.

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

LLVM — llvm/trunk/lib/CodeGen MIRPrinter.cpp, llvm/trunk/test/CodeGen/MIR/ARM ifcvt_canFallThroughTo.mir

[MIRPrinter] Print empty successor lists when they cannot be guessed

This re-applies commit r313685, this time with the proper updates to
the test cases.

Original commit message:
Unreachable blocks in the machine instr representation are these
weird empty blocks with no successors.
The MIR printer used to not print empty lists of successors. However,
the MIR parser now treats non-printed list of successors as "please
guess it for me". As a result, the parser tries to guess the list of
successors and given the block is empty, just assumes it falls through
the next block (if any).

For instance, the following test case used to fail the verifier.
The MIR printer would print

         entry
        /      \
   true (def)   false (no list of successors)
       |
 split.true (use)

The MIR parser would understand this:


    [13 lines not shown]

FreeBSD Ports — head/graphics/libcdr01 Makefile distinfo

Update to 0.1.4.

FreeBSD — head/sys/fs/nfs nfs_var.h, head/sys/fs/nfsclient nfs_clrpcops.c

Make the nfsrpc_layoutget() function a static.

Make the NFSv4 pNFS client function nfsrpc_layoutget() a static, since it
is only used in sys/fs/nfsclient/nfs_clrpcops.c.
This prepares the code for future patches that add Flex File layout
support.

HardenedBSD — sys/fs/nfs nfs_var.h, sys/fs/nfsclient nfs_clrpcops.c

Make the nfsrpc_layoutget() function a static.

Make the NFSv4 pNFS client function nfsrpc_layoutget() a static, since it
is only used in sys/fs/nfsclient/nfs_clrpcops.c.
This prepares the code for future patches that add Flex File layout
support.

FreeBSD — head/sys/dev/qlxgbe ql_os.c ql_def.h

Add sysctl "enable_minidump" to turn on/off automatic minidump retrieval

MFC after:5 days

HardenedBSD — sys/dev/qlxgbe ql_os.c ql_def.h

Add sysctl "enable_minidump" to turn on/off automatic minidump retrieval

MFC after:5 days

LLVM — llvm/trunk/include/llvm/Analysis LoopInfo.h, llvm/trunk/lib/Analysis LoopInfo.cpp

[LoopInfo] Make LoopBase and Loop destructors non-public

Summary:
See comment for why I think this is a good idea.

This change also:

 - Removes an SCEV test case.  The SCEV test was not testing anything useful (most of it 
was `#if 0` ed out) and it would need to be updated to deal with a private ~Loop::Loop.
 - Updates the loop pass manager test case to deal with a private ~Loop::Loop.
 - Renames markAsRemoved to markAsErased to contrast with removeLoop, via the usual remove 
vs. erase idiom we already have for instructions and basic blocks.

Reviewers: chandlerc

Subscribers: mehdi_amini, mcrosier, llvm-commits

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

LLVM — libcxx/trunk/src locale.cpp new.cpp, libcxx/trunk/src/include atomic_support.h refstring.h

[libc++] Replace __sync_* functions with __libcpp_atomic_* functions

Summary:
This patch replaces __sync_* with __libcpp_atomic_* and adds a wrapper
function for __atomic_exchange to support _LIBCPP_HAS_NO_THREADS.

Reviewers: EricWF, jroelofs, mclow.lists, compnerd

Reviewed By: EricWF, compnerd

Subscribers: compnerd, efriedma, cfe-commits, joerg, llvm-commits

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

NetBSD — sys/arch/arm/nvidia tegra210_xusbpad.c files.tegra, sys/arch/evbarm/conf TEGRA

Add basic tegra210 xusbpad driver, shorten tegra*xusbpad driver names to
tegra*xpad to fit in dv_xname

LLVM — cfe/trunk/lib/CodeGen CodeGenAction.cpp

Add override for ClangDiagnosticHandler::isAnyRemarkEnabled()

This is used by the new closure-based variant of
OptimizationRemarkEmitter::emit().

LLVM — llvm/trunk/include/llvm/BinaryFormat Wasm.h, llvm/trunk/include/llvm/ObjectYAML WasmYAML.h

[WebAssembly] Add support for naming wasm data segments

Add adds support for naming data segments.  This is useful
useful linkers so that they can merge similar sections.

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

LLVM — llvm/trunk/include/llvm/Analysis OptimizationDiagnosticInfo.h, llvm/trunk/include/llvm/IR DiagnosticInfo.h DiagnosticHandler.h

Allow ORE.emit to take a closure to delay building the remark object

In the lambda we are now returning the remark by value so we need to preserve
its type in the insertion operator.  This requires making the insertion
operator generic.

I've also converted a few cases to use the new API.  It seems to work pretty
well.  See the LoopUnroller for a slightly more interesting case.

NetBSD — sys/dev/fdt fdt_subr.c

fdtbus_get_string: support special 'name' property
Delta File
+6 -3 sys/dev/fdt/fdt_subr.c
+6 -3 1 file

LLVM — llvm/trunk/docs CFIVerify.rst, llvm/trunk/tools LLVMBuild.txt

Revert "Introduce the llvm-cfi-verify tool."

This reverts commit r313688, it caused build failures for
llvm-i686-linux-RA

LLVM — llvm/trunk/docs CFIVerify.rst, llvm/trunk/tools LLVMBuild.txt llvm-cfi-verify

Introduce the llvm-cfi-verify tool.

Summary: Introduces the llvm-cfi-verify tool to llvm. Includes the design document 
(docs/CFIVerify.rst). Current implementation of the tool is simply a disassembler that 
identifies and prints the indirect control flow instructions.

Reviewers: vlad.tsyrklevich

Reviewed By: vlad.tsyrklevich

Patch by Mitch Phillips

Subscribers: llvm-commits, kcc, pcc, mgorny

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