Displaying 1 50 of 5,278,790 commits (0.244s)

LLVM — llvm/trunk/utils/lit MANIFEST.in

lit: Make sure the builtin_commands directory is packaged by setup.py

Summary: This directory was missing from the lit package on pypi.org.

Reviewers: ddunbar

Subscribers: delcypher, llvm-commits

Differential Revision: https://reviews.llvm.org/D51670
Delta File
+1 -0 llvm/trunk/utils/lit/MANIFEST.in
+1 -0 1 file

LLVM — llvm/trunk/include/llvm/BinaryFormat Dwarf.def Dwarf.h, llvm/trunk/include/llvm/DebugInfo/DWARF DWARFDebugFrame.h DWARFContext.h

Revert r343112 as CallFrameString API change has broken lldb builds

FreeBSD — head/sys/netipsec subr_ipsec.c key.c

Fix witness warning in xform_init().

Do not call crypto_newsession() while holding xforms_lock mutex.
Release mutex before invoking crypto_newsession(), and use
ipsec_kmod_enter()/ipsec_kmod_exit() functions to protect from doing
access to unloaded kernel module memory.

Move xform-releated functions into subr_ipsec.c to be able use
ipsec_kmod_* functions. Also unconditionally build ipsec_kmod_*
functions, since now they are always used by IPSec code.

Add xf_cntr field to struct xformsw, it is used by ipsec_kmod_*
functions. Also constify xf_name field, since it is not expected to be
modified.

Approved by:        re (kib)
Differential Revision:        https://reviews.freebsd.org/D17302

LLVM — llvm/trunk/lib/Target/AArch64 AArch64InstrFormats.td

[AArch64] Refactor instructions that write PSTATE (NFCI)

Reuse some code in preparation for the v8.5A XAFlag/AXFlag instructions,
which shares part of the encoding of the MSR-immediate.

Patch by Pablo Barrio!

Differential revision: https://reviews.llvm.org/D52472

FreeBSD — head UPDATING

Clarify UPDATING entry about lld

The workaround described in the 20180530 entry is no longer required.
Amend that entry and add a new 20180530 entry noting lld is the
default amd64 linker.

Reviewed by:        imp
Approved by:        re (kib)
Delta File
+8 -0 head/UPDATING
+8 -0 1 file

LLVM — llvm/trunk/include/llvm/BinaryFormat Dwarf.def Dwarf.h, llvm/trunk/include/llvm/DebugInfo/DWARF DWARFDebugFrame.h DWARFContext.h

[AArch64] - Return address signing dwarf support

- Reapply r343089 with a fix for DebugInfo/Sparc/gnu-window-save.ll

FreeBSD — stable/11/sys/kern vfs_syscalls.c, stable/11/sys/ufs/ufs ufs_quota.c ufs_vfsops.c

MFC r338798:
Fix state of dquot-less vnodes after failed quotaoff.

LLVM — cfe/trunk/lib/Basic/Targets ARM.cpp, cfe/trunk/test/Driver arm-cortex-cpus.c aarch64-cpus.c

[ARM/AArch64][v8.5A] Add Armv8.5-A target

This patch allows targetting Armv8.5-A from Clang. Most of the
implementation is in TargetParser, so this is mostly just adding tests.

Patch by Pablo Barrio!

Differential revision: https://reviews.llvm.org/D52491

LLVM — llvm/trunk/test/tools/llvm-exegesis/X86 lit.local.cfg

[llvm-exgesis][NFC] Do not pollute buildbots with messages when
the exegesis lit tests cannot run.

FreeBSD Ports — head/emulators/tuxnes Makefile

emulators/tuxnes: set LLD_UNSAFE on i386

This port builds and runs a build tool, which segfaults when lld is the
i386 system linker:

cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing  -pipe -Wall
    -I/usr/local/include  -I/usr/local/include -fstack-protector
    -o comptbl  comptbl.o  -lm -lz -lXext -lXpm   -lSM -lICE -lX11
    -L/usr/local/lib
./comptbl
gmake[1]: *** [Makefile:414: compdata] Segmentation fault (core dumped)

PR:                214864
Approved by:        portmgr (lld blanket)
Sponsored by:        The FreeBSD Foundation
Delta File
+4 -0 head/emulators/tuxnes/Makefile
+4 -0 1 file

LLVM — llvm/trunk/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

[AArch64][AsmParser] Show name of missing feature for system instructions

Parsing of the system instructions (IC, DC, AT and TLBI) uses this
function to show the required architecture when the operand is valid,
but the architecture is not enabled. Armv8.5A adds a few different
system instructions as part of optional features, so we need to extend
it to show individual features, not just base architectures.

This is NFC for now, but will be used by three different features added
in v8.5A, and will be tested by them.

Patch by David Spickett!

Differential revision: https://reviews.llvm.org/D52478

FreeBSD Ports — head/devel/sope4 Makefile

devel/sope4: set LLD_UNSAFE

This port experiences odd failures with lld, so just fall back to
GNU ld.

amd64, lld 7.0:

ld: error: corrupt input file: version definition index 2 for symbol
    undleManager.bundleSearchPaths is out of bounds
>>> defined in ./../sope-core/NGExtensions/obj/libNGExtensions.so

i386, lld 6.0:

/usr/bin/ld: error: TLS attribute mismatch: _ThreadRuneLocale

PR:                214864, 230608
Approved by:        portmgr (lld blanket)
Sponsored by:        The FreeBSD Foundation
Delta File
+1 -0 head/devel/sope4/Makefile
+1 -0 1 file

LLVM — llvm/trunk/test/tools/llvm-exegesis/X86 analysis-uops-backwards.test analysis-uops.test, llvm/trunk/tools/llvm-exegesis/lib BenchmarkResult.cpp Analysis.cpp

[llvm-exegesis] Get rid of debug_string.

Summary:
THis is a backwards-compatible change (existing files will work as
expected).

See PR39082.

Reviewers: gchatelet

Subscribers: tschuett, llvm-commits

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

FreeBSD Ports — head/audio/xmms-sapplug Makefile

audio/xmms-sapplug: add -fPIC to linking with lld on i386 and arm64

By default lld disallows relocations against read-only segments and
requires that shared objects are built with -fPIC (as they should be).
This port already set -fPIC for amd64, so apply it to arm64 (which
already uses lld as the system linker) and i386 (which will soon switch
to lld as the system linker).

Approved by:        portmgr (lld blanket)
Delta File
+3 -3 head/audio/xmms-sapplug/Makefile
+3 -3 1 file

LLVM — llvm/trunk/lib/CodeGen MachineInstr.cpp, llvm/trunk/test/CodeGen/AArch64 misched-fusion-crypto-eor.mir

[CodeGen] Always print register ties in MI::dump()

It was the case when calling MO::dump(), but MI::dump() was still
depending on hasComplexRegisterTies().

The MIR output is not affected.

OPNsense — src/etc/inc interfaces.inc

interfaces: 6RD IPv4 prefix is prefix only #2662
Delta File
+2 -7 src/etc/inc/interfaces.inc
+2 -7 1 file

FreeBSD — head/sys/dev/pci pcireg.h

Add PCIV_INVALID definition

From PCI Spec rev 2.2, 6.2.1. Device Identification:
Vendor ID This field identifies the manufacturer of the device. Valid
vendor identifiers are allocated by the PCI SIG to ensure uniqueness.
0FFFFh is an invalid value for Vendor ID.

MFC after:      3 days
Approved by:    re (Glen), hselasky (mentor), kib (mentor)
Sponsored by:   Mellanox Technologies
Delta File
+3 -0 head/sys/dev/pci/pcireg.h
+3 -0 1 file

FreeBSD Ports — head/devel/libosmocore Makefile, head/graphics/pqiv Makefile

Fix error messages on tier-2 archs.

Approved by:        portmgr (tier-2 blanket)

LLVM — llvm/trunk/unittests/Support TargetParserTest.cpp

[ARM/AArch64] Add target parser unit tests for Armv8.4-A

These were missed when adding Armv8.4-A support.

Patch by Pablo Barrio!

Differential revision: https://reviews.llvm.org/D52471

FreeBSD Ports — head/games/wesnoth Makefile distinfo

games/wesnoth:

Update to 1.14.5

LLVM — cfe/trunk/tools/scan-build/bin scan-build

[analyzer] scan-build: if --status-bugs is passed, don't forget about the exit status of 
the actual build

Summary:
This has been bothering me for a while, but only now i have actually looked into this.
I'm using one CI job for static analysis - clang static analyzers as compilers + 
clang-tidy via cmake.
And i'd like for the build to fail if at least one of those finds issues.
If clang-tidy finds issues, it will fail the build since the warnings-as-errors is set.
If static analyzer finds anything, since --status-bugs is set, it will fail the build.
But if clang-tidy find anything, but static analyzer does not, the build succeeds :/

Reviewers: sylvestre.ledru, alexfh, jroelofs, ygribov, george.karpenkov, krememek

Reviewed By: jroelofs

Subscribers: xazax.hun, szepet, a.sidorin, mikhail.ramalho, Szelethus, cfe-commits

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

FreeBSD Ports — head/security/vuxml vuln.xml

security/vuxml:

Document wesnoth vulnerability
Delta File
+27 -0 head/security/vuxml/vuln.xml
+27 -0 1 file

FreeBSD Ports — head/devel/google-perftools Makefile

Fix error messages on tier-2 archs.

Approved by:        portmgr (tier-2 blanket)

FreeBSD Ports — head/security/strongswan Makefile distinfo

- Update security/strongswan to 5.7.0
- While here, silence portlint warning renaming option IKEv1 to IKEV1

PR:                231720
Approved by:        maintainer
Obtained from:        pfSense
Sponsored by:        Rubicon Communications, LLC (Netgate)

LLVM — llvm/trunk/include/llvm/IR PassTimingInfo.h LegacyPassManager.h, llvm/trunk/lib/IR PassTimingInfo.cpp

[PassTiming] cleaning up legacy PassTimingInfo interface. NFCI.

During D51276 discussion it was decided that legacy PassTimingInfo
interface can not be reused for new pass manager's implementation
of -time-passes.

This is a cleanup in preparation for D51276 to make legacy interface
as concise as possible, moving the PassTimingInfo from the header
into the anonymous legacy namespace in .cpp.

It is rather close to a revert of rL340872 in a sense that it hides
the interface and gets rid of templates. However as compared to
a complete revert it resides in a different translation unit and has
an additional pass-instance counting funcitonality (PassIDCountMap).

Reviewers: philip.pfaffe
Differential Revision: https://reviews.llvm.org/D52356

LLVM — llvm/trunk/include/llvm/BinaryFormat Dwarf.def Dwarf.h, llvm/trunk/include/llvm/DebugInfo/DWARF DWARFDebugFrame.h DWARFContext.h

Revert r343089 "[AArch64] - Return address signing dwarf support"

This caused the DebugInfo/Sparc/gnu-window-save.ll test to fail.

> Functions that have signed return addresses need additional dwarf support:
> - After signing the LR, and before authenticating it, the LR register is in a
>   state the is unusable by a debugger or unwinder
> - To account for this a new directive, .cfi_negate_ra_state, is added
> - This directive says the signed state of the LR register has now changed,
>   i.e. unsigned -> signed or signed -> unsigned
> - This directive has the same CFA code as the SPARC directive GNU_window_save
>   (0x2d), adding a macro to account for multiply defined codes
> - This patch matches the gcc implementation of this support:
>   https://patchwork.ozlabs.org/patch/800271/
>
> Differential Revision: https://reviews.llvm.org/D50136

FreeNAS — src/freenas/usr/local/etc syslog-ng.conf.freenas

Update config file version

FreeBSD Ports — head/security/vuxml vuln.xml

security/vuxml: Add Apache 2.4 vulnerability
Delta File
+30 -0 head/security/vuxml/vuln.xml
+30 -0 1 file

LLVM — llvm/trunk/include/llvm/ADT Triple.h, llvm/trunk/include/llvm/Support AArch64TargetParser.def ARMTargetParser.def

[ARM/AArch64][v8.5A] Add Armv8.5-A target

This patch allows targeting Armv8.5-A, adding the architecture to
tablegen and setting the options to be identical to Armv8.4-A for the
time being. Subsequent patches will add support for the different
features included in the Armv8.5-A Reference Manual.

Patch by Pablo Barrio!

Differential revision: https://reviews.llvm.org/D52470

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG LegalizeDAG.cpp

[DAG] ExpandLegalINT_TO_FP - pull out repeated getValueType() call. NFCI.

LLVM — llvm/trunk/lib/Target/PowerPC PPCPreEmitPeephole.cpp, llvm/trunk/test/CodeGen/PowerPC setcr_bc.mir setcr_bc2.mir

[PowerPC] optimize conditional branch on CRSET/CRUNSET

This patch adds a check to optimize conditional branch (BC and BCn) based on a constant 
set by CRSET or CRUNSET.
Other optimizers, such as block placement, may generate such code and hence
I do this at the very end of the optimization in pre-emit peephole pass.

A conditional branch based on a constant is eliminated or converted into unconditional 
branch. 
Also CRSET/CRUNSET is eliminated if the condition code register is not used
by instruction other than the branch to be optimized.

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

LLVM — llvm/trunk/include/llvm/ExecutionEngine/Orc LLJIT.h, llvm/trunk/lib/ExecutionEngine/Orc LLJIT.cpp

Revert r343058 "[ORC] Add support for multithreaded compiles to LLJIT and LLLazyJIT."

This doesn't work well in builds configured with LLVM_ENABLE_THREADS=OFF,
causing the following assert when running
ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll:

  lib/ExecutionEngine/Orc/Core.cpp:1748: Expected<llvm::JITEvaluatedSymbol>
  llvm::orc::lookup(const llvm::orc::JITDylibList &, llvm::orc::SymbolStringPtr):
  Assertion `ResultMap->size() == 1 && "Unexpected number of results"' failed.

> LLJIT and LLLazyJIT can now be constructed with an optional NumCompileThreads
> arguments. If this is non-zero then a thread-pool will be created with the
> given number of threads, and compile tasks will be dispatched to the thread
> pool.
>
> To enable testing of this feature, two new flags are added to lli:
>
> (1) -compile-threads=N (N = 0 by default) controls the number of compile threads
> to use.
>
> (2) -thread-entry can be used to execute code on additional threads. For each
> -thread-entry argument supplied (multiple are allowed) a new thread will be
> created and the given symbol called. These additional thread entry points are
> called after static constructors are run, but before main.

FreeBSD Ports — head/www/nextcloud-notes distinfo Makefile

www/nextcloud-notes: Update to 2.4.2

FreeBSD Ports — head/www/nextcloud Makefile distinfo, head/www/nextcloud/files pkg-message.in patch-config_config.sample.php

www/nextcloud: Update to 14.0.1

 - Fix broken apps-pkg path [1]
 - Fix plist issues [2]
 - Add caching, pcntl, imagick options [3]
 - Remove redundant USES (mysql, pgsql)

PR:        231391 [1], 231419 [2], 231704 [3]
Submitted by:        Nathan <ndowens yahoo com> [2]
Submitted by:        Matt <fsbruva yahoo com> [3]
Reported by:        Damjan Jovanovic <damjan jov gmail.com> [1]
Reported by:        mfechner [2]

LLVM — llvm/trunk/tools/llvm-exegesis/lib CodeTemplate.h MCInstrDescView.h

[llvm-exegesis][NFC] Move CodeTemplate to it's own file.

Summary: This is is preparation of exploring value ranges.

Reviewers: courbet

Reviewed By: courbet

Subscribers: mgorny, tschuett, llvm-commits

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

FreeBSD Ports — head/games/openbor Makefile

games/openbor: switch COMMENT to upstream synopsis

Fighting game has a defined meaning e.g., 1v1 on an arena.
M.U.G.E.N is more suited for those than OpenBOR.
Delta File
+1 -1 head/games/openbor/Makefile
+1 -1 1 file

LLVM — llvm/trunk/test/CodeGen/X86 shrink_vmul.ll

[X86][SSE] Refresh PR34947 test code to handle D52504

The previously reduced version used urem <9 x i32> zeroinitializer, %tmp which D52504 will 
simplify.
Delta File
+327 -181 llvm/trunk/test/CodeGen/X86/shrink_vmul.ll
+327 -181 1 file

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

[X86][SSE] canReduceVMulWidth - use ComputeNumSignBits/SignBitIsZero directly

Don't reinvent the wheel for BUILD_VECTOR/ZERO_EXTEND - its only the ANY_EXTEND special 
case that needs handling.

LLVM — llvm/trunk/include/llvm/MC MCSchedule.h, llvm/trunk/include/llvm/Target TargetSchedule.td

[llvm-exegesis] Add support for measuring NumMicroOps.

Summary:
Example output for vzeroall:

---
mode:            uops
key:
  instructions:
    - 'VZEROALL'
  config:          ''
  register_initial_values:
cpu_name:        haswell
llvm_triple:     x86_64-unknown-linux-gnu
num_repetitions: 10000
measurements:
  - { debug_string: HWPort0, value: 0.0006, per_snippet_value: 0.0006,
      key: '3' }
  - { debug_string: HWPort1, value: 0.0011, per_snippet_value: 0.0011,
      key: '4' }
  - { debug_string: HWPort2, value: 0.0004, per_snippet_value: 0.0004,
      key: '5' }
  - { debug_string: HWPort3, value: 0.0018, per_snippet_value: 0.0018,
      key: '6' }
  - { debug_string: HWPort4, value: 0.0002, per_snippet_value: 0.0002,

    [20 lines not shown]

FreeBSD Ports — head/games/openbor pkg-descr

games/openbor: sync pkg-descr with upstream README.md
Delta File
+7 -9 head/games/openbor/pkg-descr
+7 -9 1 file

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 combine-sdiv.ll vector-shift-ashr-256.ll

[X86][SSE] Use ISD::MULHS for constant vXi16 ISD::SRA lowering (PR38151)

Similar to the existing ISD::SRL constant vector shifts from D49562, this patch adds 
ISD::SRA support with ISD::MULHS.

As we're dealing with signed values, we have to handle shift by zero and shift by one 
special cases, so XOP+AVX2/AVX512 splitting/extension is still a better solution - really 
we should still use ISD::MULHS if one of the special cases are used but for now I've just 
left a TODO and filtered by isKnownNeverZero.

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

LLVM — llvm/trunk/lib/Target/ARM ARMCodeGenPrepare.cpp, llvm/trunk/test/CodeGen/ARM arm-cgp-overflow.ll pr39060.ll

[ARM] Fix for PR39060

When calculating whether a value can safely overflow for use by an
icmp, we weren't checking that the value couldn't wrap around. To do
this we need the icmp to be using a constant, as well as the incoming
add or sub.

bugzilla report: https://bugs.llvm.org/show_bug.cgi?id=39060

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

LLVM — llvm/trunk/lib/CodeGen CodeGenPrepare.cpp Analysis.cpp, llvm/trunk/lib/CodeGen/SelectionDAG TargetLowering.cpp

[CodeGen] Enable tail calls for functions with NonNull attributes.

Adding NonNull as attributes to returned pointers has the unfortunate side
effect of disabling tail calls. This patch ignores the NonNull attribute when
we decide whether to tail merge, in the same way that we ignore the NoAlias
attribute, as it has no affect on the call sequence.

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

LLVM — llvm/trunk/lib/CodeGen RegisterPressure.cpp, llvm/trunk/test/CodeGen/X86 pr38539.ll divrem.ll

Fixes removal of dead elements from PressureDiff (PR37252).

Reviewed By: MatzeB

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

pkgsrc — chat/ircII Makefile distinfo, chat/ircII/patches patch-ircaux.c

fix problem from upstream: avoid failing to nul terminate strings, which
could lead to garbage being added to assignment values.

FreeBSD — head/sys/netinet sctputil.c sctp_output.c

Whitespace changes and fixing a typo. No functional change.

Approved by:        re (kib@)
MFC after:        1 week

LLVM — llvm/trunk/include/llvm/BinaryFormat Dwarf.def Dwarf.h, llvm/trunk/include/llvm/DebugInfo/DWARF DWARFDebugFrame.h DWARFContext.h

[AArch64] - Return address signing dwarf support

Functions that have signed return addresses need additional dwarf support:
- After signing the LR, and before authenticating it, the LR register is in a
  state the is unusable by a debugger or unwinder
- To account for this a new directive, .cfi_negate_ra_state, is added
- This directive says the signed state of the LR register has now changed,
  i.e. unsigned -> signed or signed -> unsigned
- This directive has the same CFA code as the SPARC directive GNU_window_save
  (0x2d), adding a macro to account for multiply defined codes
- This patch matches the gcc implementation of this support:
  https://patchwork.ozlabs.org/patch/800271/

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

LLVM — llvm/trunk/cmake/modules LLVM-Config.cmake

[CMake] Avoid REVERSE on unset variable

If required_libs happens to remain unset, CMake would fail with:

  list sub-command REVERSE requires list to be present.

Fix by ensuring we do not attempt to reverse an unset variable.

Reported by Tu Vuong.

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

FreeBSD Ports — head/databases/py-fakeredis distinfo Makefile

databases/py-fakeredis: update to 0.14.0

Reported by:        portscout

LLVM — lldb/trunk/unittests/Host NativeProcessProtocolTest.cpp

[unittest] Fix NativeProcessProtocolTest.cpp (NFC)

Cast std::min's second argument to size_t to prevent conflicting types
for parameter deduction.