Displaying 1 50 of 4,668,951 commits (0.211s)

LLVM — llvm/trunk/lib/IR ConstantFold.cpp, llvm/trunk/test/Transforms/InstSimplify pr33957.ll

[ConstantFolder] Don't try to fold gep when the idx is a vector.

The code in ConstantFoldGetElementPtr() assumes integers, and
therefore it crashes trying to get the integer bidwith of a vector
type (in this case <4 x i32>. I just changed the code to prevent
the folding in case of vectors and I didn't bother to generalize
as this doesn't seem to me something that really happens in
practice, but I'm willing to change the patch if you think
it's worth it.
This is hard to trigger from -instsimplify or -instcombine
only as the second instruction is dead, so the test uses loop-unroll.

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

LLVM — lld/trunk/test/ELF weak-undef-export.s

Add a test.

This would have found the error in r309252.

LLVM — cfe/branches/release_50/lib/Headers unwind.h

Merging r309327:
------------------------------------------------------------------------
r309327 | compnerd | 2017-07-27 14:56:25 -0700 (Thu, 27 Jul 2017) | 5 lines

Headers: fix _Unwind_{G,S}etGR for non-EHABI targets

The EHABI definition was being inlined into the users even when EHABI
was not in use.  Adjust the condition to ensure that the right version
is defined.
------------------------------------------------------------------------

LLVM — cfe/trunk/lib/Headers unwind.h

Headers: fix _Unwind_{G,S}etGR for non-EHABI targets

The EHABI definition was being inlined into the users even when EHABI
was not in use.  Adjust the condition to ensure that the right version
is defined.
Delta File
+1 -4 cfe/trunk/lib/Headers/unwind.h
+1 -4 1 file

FreeBSD Ports — head/mail/rspamd distinfo Makefile

- Update to 1.6.3

LLVM — lld/trunk/ELF LinkerScript.cpp

Avoid warnings when asserts are disabled.
Delta File
+1 -2 lld/trunk/ELF/LinkerScript.cpp
+1 -2 1 file

FreeBSD Ports — head/devel/nspr distinfo Makefile, head/devel/nspr/files patch-bug1350414 patch-bug1350966

devel/nspr: update to 4.16

Changes:        http://mozilla.6506.n7.nabble.com/ANNOUNCE-NSPR-4-16-Release-td367392.html
ABI:                https://abi-laboratory.pro/tracker/timeline/nspr/
MFH:                2017Q3 (required by firefox-56.0 scheduled on 2017-09-26)

FreeBSD Ports — head/emulators/rpcs3 Makefile distinfo

emulators/rpcs3: update to 0.0.3.65

Changes:        https://github.com/RPCS3/rpcs3/compare/b2fa0fdf...f613901e

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

[X86] Don't lie about legality to TLI's demanded bits.

Like r309323, X86 had a typo where it passed the wrong flags to TLO.

Found by inspection; I haven't been able to tickle this into having
observable behavior.  I don't think it does, given that X86 doesn't have
custom demanded bits logic, and the generic logic doesn't have a lot of
exposure to illegal constructs.

LLVM — llvm/trunk/lib/Target/AArch64 AArch64TargetMachine.cpp

[AArch64] Remove outdated comment. NFC.

There hasn't been a ternary since r231987.

LLVM — llvm/trunk/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/trunk/test/CodeGen/AArch64 tbi.ll

[AArch64] Fix legality info passed to demanded bits for TBI opt.

The (seldom-used) TBI-aware optimization had a typo lying dormant since
it was first introduced, in r252573:  when asking for demanded bits, it
told TLI that it was running after legalize, where the opposite was
true.

This is an important piece of information, that the demanded bits
analysis uses to make assumptions about the node.  r301019 added such an
assumption, which was broken by the TBI combine.

Instead, pass the correct flags to TLO.

FreeBSD — head/sys/dev/bnxt if_bnxt.c, head/sys/net iflib.h

Deprecate unused int isc_max_txqsets and int isc_max_rxqsets as they
were redundant and not being used to set anything up.

Submitted by:        Matt Macy <mmacy at mattmacy.io>
Reported by:        Jeb Cramer <cramerj at intel.com>
Sponsored by:        Limelight Networks

LLVM — libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.enab enable_shared_from_this.pass.cpp

[libcxx] [test] Remove an unused local typedef in enable_shared_from_this.pass.cpp.

Trivial change, committed without review.

FreeBSD Ports — head/emulators/bochs/files patch-plugin.h

Fix es1370 build when gameport is disabled.

LLVM — llvm/trunk/bindings/ocaml/llvm llvm_ocaml.c llvm.ml

[OCaml] Fix undefined reference to LLVMDumpType() with NDEBUG

Account for the possibility of LLVMDumpType() not being available with
NDEBUG in the OCaml bindings. If it is not built into LLVM, make
the dump function raise an exception.

Since rL293359, the dump functions are built only if either NDEBUG is
not defined, or LLVM_ENABLE_DUMP is defined. As a result, if the dump
functions are not built in LLVM, the dynamic OCaml libraries fail to
load due to undefined LLVMDumpType symbol.

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

LLVM — llvm/trunk/cmake/modules AddOCaml.cmake

[OCaml] Respect CMAKE_C_FLAGS for OCaml C files

Pass the values of CMAKE_C_FLAGS and CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE}
as -ccopt to ocamlc. This enforces the specific flags used for the LLVM
build to be used for OCaml bindings as well, notably -O and -march
flags.

This also solves the issue of the user being unable to force specific
flags for OCaml bindings builds. Gentoo needs this to enforce -DNDEBUG
consistently between the LLVM build and the split OCaml bindings build.

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

FreeNAS — src/freenas/etc/ix.rc.d ix-ldap, src/middlewared/middlewared/plugins etc.py

Fix ldap status and openldap configuration

Ticket: #25327

FreeNAS — src/freenas/etc/ix.rc.d ix-ldap, src/middlewared/middlewared/plugins etc.py

Fix ldap status and openldap configuration

Ticket: #25327
(cherry picked from commit d1f5ac6f3d3c04221882dbe585c008c1108caac9)

HardenedBSD — sys/fs/nfs nfs_commonsubs.c nfs_commonkrpc.c, sys/fs/nfsclient nfs_clstate.c nfs_clport.c

Replace the checks for MNTK_UNMOUNTF with a macro that does the same thing.

This patch defines a macro that checks for MNTK_UNMOUNTF and replaces
explicit checks with this macro. It has no effect on semantics, but
prepares the code for a future patch where there will also be a
NFS specific flag for "forced dismount about to occur".

Suggested by:        kib
MFC after:        2 weeks

FreeBSD — head/sys/fs/nfs nfs_commonsubs.c nfs_commonkrpc.c, head/sys/fs/nfsclient nfs_clstate.c nfs_clport.c

Replace the checks for MNTK_UNMOUNTF with a macro that does the same thing.

This patch defines a macro that checks for MNTK_UNMOUNTF and replaces
explicit checks with this macro. It has no effect on semantics, but
prepares the code for a future patch where there will also be a
NFS specific flag for "forced dismount about to occur".

Suggested by:        kib
MFC after:        2 weeks

FreeBSD — head/sys/kern kern_sig.c

Make it possible to request nosys logging to console.

New kern.lognosys values are
1 - log to ctty
2 - log to console
3 - log to both.

Inspired by:        eugen
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Delta File
+6 -1 head/sys/kern/kern_sig.c
+6 -1 1 file

HardenedBSD — sys/kern kern_sig.c

Make it possible to request nosys logging to console.

New kern.lognosys values are
1 - log to ctty
2 - log to console
3 - log to both.

Inspired by:        eugen
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Delta File
+6 -1 sys/kern/kern_sig.c
+6 -1 1 file

FreeBSD Ports — branches/2017Q3/devel/ccache Makefile, branches/2017Q3/devel/ccache/files extra-patch-memcached-configure.ac

MFH: r446777

MEMCACHED+STATIC: Fix not having HAVE_LIBMEMCACHED defined.

This was causing memcached functionality to not work.

Also flip around the link ordering for libmemcached and libsasl2 to
resolve link-time issues.

Sponsored by:        Dell EMC Isilon

Approved by:        portmgr (implicit)

FreeBSD Ports — head/devel/ccache Makefile, head/devel/ccache/files extra-patch-memcached-configure.ac

MEMCACHED+STATIC: Fix not having HAVE_LIBMEMCACHED defined.

This was causing memcached functionality to not work.

Also flip around the link ordering for libmemcached and libsasl2 to
resolve link-time issues.

Sponsored by:        Dell EMC Isilon

FreeBSD Ports — head/cad/linuxcnc-devel pkg-plist Makefile

Fix a few runtime issues.

LLVM — llvm/trunk/test/tools/llvm-mt xml_error.test, llvm/trunk/test/tools/llvm-mt/Inputs empty.manifest

Add test to reject merging of empty manifest.

Reviewers: ruiu, rnk

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D35954
Delta File
+9 -2 llvm/trunk/test/tools/llvm-mt/xml_error.test
+0 -0 llvm/trunk/test/tools/llvm-mt/Inputs/empty.manifest
+9 -2 2 files

LLVM — llvm/trunk/lib/Target/ARM ARMSubtarget.cpp ARM.td

[ARM] Add use-misched feature, to enable the MachineScheduler.

Summary:
This change makes it easier to experiment with the MachineScheduler in
the ARM backend and also makes it very explicit which CPUs use the
MachineScheduler (currently only swift and cyclone).



Reviewers: MatzeB, t.p.northover, javed.absar

Reviewed By: MatzeB

Subscribers: aemerson, kristof.beyls, llvm-commits

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

FreeBSD Ports — head/devel Makefile mdb, head/devel/mdb Makefile pkg-descr

Add a port for the Solaris Modular Debugger (mdb).

Currently it only supports debugging of FreeBSD/amd64 kernels via kernel
crashes (vmcores) or live systems via /dev/mem.  It does not include a
port of the in-kernel kmdb debugger.

PR:                220891
Reviewed by:        mat
Sponsored by:        Netflix
Differential Revision:        https://reviews.freebsd.org/D11682

LLVM — llvm/trunk/test/CodeGen/X86 vector-shuffle-combining-avx.ll

Change prefix in vector-shuffle-combining-avx.patch to reduce test size.

LLVM — cfe/trunk/test/Headers ms-intrin.cpp

[Headers] Add a test for arm64intr.h

This tests the ARM64 specific constants added in SVN r309081,
similar to the one added in r277928 for armintr.h.

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

LLVM — llvm/trunk/lib/Transforms/IPO MergeFunctions.cpp

[MergeFunctions] Remove alias support.

The alias support was dead code since 2011. It was last touched
in r124182, where it was reintroduced after being removed
in r110434, and since then it was gated behind a HasGlobalAliases
flag that was permanently stuck as `false`.

It is also broken. I'm not sure if it bitrotted or was just broken
in the first place because it appears to have never been tested,
but the following IR results in a crash:

    define internal i32 @a(i32 %a, i32 %b) unnamed_addr {
      %c = add i32 %a, %b
      %d = xor i32 %a, %c
      ret i32 %c
    }

    define internal i32 @b(i32 %a, i32 %b) unnamed_addr {
      %c = add i32 %a, %b
      %d = xor i32 %a, %c
      ret i32 %c
    }

It seems safe to remove buggy untested code that no one cared about
for seven years.

    [2 lines not shown]

FreeNAS — src/freenas/usr/local/libexec/nas generate_sssd_conf.py

encode utf-8 auxiliary parameters

Ticket: #25326

FreeNAS — src/freenas/usr/local/libexec/nas generate_sssd_conf.py

encode utf-8 auxiliary parameters

Ticket: #25326
(cherry picked from commit 48e2a45330f1c6b2983a9d47693ac8c7098fb4f4)

LLVM — llvm/trunk/utils/lit/lit TestRunner.py

[lit] Fix TestRunner unit test on Windows

Summary:
Normally Python converts all newline characters, Windows or Unix,
to Unix newlines when opening a file. However, lit opens files in
binary mode, which does not perform this conversion. As a result,
trailing Windows newlines are not stripped from test input, which
caused a failure in the TestRunner unit test:

```
FAIL: test_custom (__main__.TestIntegratedTestKeywordParser)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\bgesiak\src\llvm\llvm\utils\lit\tests\unit\TestRunner.py", line 109, in 
test_custom
    self.assertItemsEqual(value, ['a', 'b', 'c'])
AssertionError: Element counts were not equal:
First has 1, Second has 0: 'c\r'
First has 0, Second has 1:  'c'
```

Fix the discrepancy in behavior across the two platforms by
manually stripping Windows newlines before yielding each line in
the test file.


    [7 lines not shown]

LLVM — lld/trunk/ELF LinkerScript.cpp OutputSections.cpp

Merge OutputSectionCommand and OutputSection.

This is a bit of a hack, but it is *so* convenient.

Now that we create synthetic linker scripts when none is provided, we
always have to handle paired OutputSection and OutputsectionCommand and
keep a mapping from one to the other.

This patch simplifies things by merging them and creating what used to
be OutputSectionCommands really early.

LLVM — llvm/trunk CMakeLists.txt, llvm/trunk/utils/lit CMakeLists.txt

Un-revert "Teach the CMake build system to run lit's test suite. These can be run"

Summary:
Depends on https://reviews.llvm.org/D35879.

This reverts rL257268, which in turn was a revert of rL257221.
https://reviews.llvm.org/D35879 marks the tests in the lit test suite
that fail on Windows as XFAIL, which should allow these tests to pass
on Windows-based buildbots.

Reviewers: delcypher, beanz, mgorny, jroelofs, rnk

Reviewed By: mgorny

Subscribers: rnk, ddunbar, george.karpenkov, llvm-commits

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

LLVM — cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td, cfe/trunk/lib/Sema SemaOpenMP.cpp

[OPENMP] Allow all lvalues in 'depend' clause.

According to upcoming OpenMP 5.0 all addressable lvalue expressions are
allowed in deoend clause.

FreeBSD Ports — head/www/rt42 Makefile distinfo, head/www/rt42/files patch-lib_RT_User.pm patch-lib_RT_Util.pm

Update to 4.2.14

Remove patch files from the last round of security patches: these have
now been incorporated in the release.

Add license

Update to use some additional options-helpers features

ChangeLog:    https://docs.bestpractical.com/release-notes/rt/4.2.14

LLVM — cfe/trunk/include/clang/Basic TargetInfo.h, cfe/trunk/lib/Basic/Targets OSTargets.h

Revert r264998 and r265035.

r303175 made changes to have __cxa_allocate_exception return a 16-byte
aligned pointer, so it's no longer necessary to specify a lower
alignment (8-bytes) for exception objects on Darwin.

rdar://problem/32363695

LLVM — libcxx/trunk/test/std/utilities/variant/variant.variant/variant.ctor copy.pass.cpp

Disable the deduction guide test I added in 309296 for the moment, while I figure out 
which compilers don't support deduction guides

LLVM — llvm/trunk/lib/Transforms/IPO FunctionImport.cpp

[FunctionImport] Prefer isa<> to dyn_cast<> as the value is not used.

This change makes GCC7 happy again.

LLVM — llvm/trunk/include/llvm/IR Operator.h, llvm/trunk/lib/Transforms/InstCombine InstCombineAddSub.cpp

[InstCombine] Simplify pointer difference subtractions (GEP-GEP) where GEPs have other 
uses and one non-constant index

Summary:
Pointer difference simplifications currently happen only if input GEPs don't have other 
uses or their indexes are all constants, to avoid duplicating indexing arithmetic.

This patch enables cases with exactly one non-constant index among input GEPs to happen 
where there is no duplicated arithmetic or code size increase even if input GEPs have 
other uses.

For example, this patch allows "(&A[42][i]-&A[42][0])" --> "i", which didn't happen 
previously, if the input GEP(s) have other uses.

Reviewers: sanjoy, bkramer

Reviewed By: sanjoy

Subscribers: mcrosier, llvm-commits

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

LLVM — lld/trunk/COFF PDB.cpp Writer.cpp, lld/trunk/test/COFF pdb-publics-import.test pdb.test

[PDB] Write public symbol records and the publics hash table

Summary:
MSVC link.exe records all external symbol names in the publics stream.
It provides similar functionality to an ELF .symtab.

Reviewers: zturner, ruiu

Subscribers: hiraditya, llvm-commits

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

FreeBSD Ports — head/net-mgmt Makefile icingaweb2-module-vsphere, head/net-mgmt/icingaweb2-module-vsphere pkg-plist Makefile

Add new port net-mgmt/icingaweb2-module-vsphere:

In case you want to have an automated import of your Virtual Machines and/or
Physical Host from VMware Sphere (vCenter) into your Icinga monitoring system
this module might be what you have been looking for.

At the time of this writing, the main purpose of this module is being a Import
Source provider for the Icinga Director.

WWW: https://github.com/Icinga/icingaweb2-module-vsphere

FreeBSD Ports — head/net-mgmt Makefile icingaweb2-module-grafana, head/net-mgmt/icingaweb2-module-grafana pkg-plist Makefile

Add new port net-mgmt/icingaweb2-module-grafana:

Add Grafana graphs into Icinga Web 2 to display performance metrics.

WWW: https://github.com/Mikesch-mp/icingaweb2-module-grafana

FreeBSD Ports — head/textproc Makefile kibana5-search-guard, head/textproc/kibana5-search-guard pkg-plist Makefile

New port: textproc/kibana5-search-guard

This plugin for Kibana adds session management and multi tenancy
to a Search Guard secured cluster.

WWW: https://github.com/floragunncom/search-guard-kibana-plugin

PR:                219738
Submitted by:        Miroslav Lachman <000.fbsd at quip.cz>

SmartOS — src Makefile, src/vm/tests test-send-recv.js

completely overhaul test-send-recv (style, cp.spawn > cp.exec)
Delta File
+194 -134 src/vm/tests/test-send-recv.js
+1 -0 src/Makefile
+195 -134 2 files

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp, llvm/trunk/test/CodeGen/X86 pr33960.ll

[SelectionDAG] Improve DAGTypeLegalizer::convertMask assertion (PR33960)

Improve DAGTypeLegalizer::convertMask's isSETCCorConvertedSETCC assertion to properly 
check for any mixture of SETCC or BUILD_VECTOR of constants, or a logical mask op of them.

FreeBSD Ports — head/sysutils Makefile atf-allwinner, head/sysutils/atf-allwinner Makefile distinfo

Add sysutils/atf-allwinner: ARM trusted Framework for Allwinner 64 bit
SoCs.

PR:                221053
Submitted by:        manu

FreeNAS — src/middlewared/middlewared/plugins pool.py

feat(middlewared): add scan attribute to pool.query

Ticket:        #25323