[InstCombine] make `foldBinOpIntoSelectOrPhi` fold on all operands (#183692)
This PR makes `foldBinOpIntoSelectOrPhi` fold to select/phi both for
operands 0 and 1.
Alive2: https://alive2.llvm.org/ce/z/T56TMM
Also fixes #183498
net-mgmt/netbox: Update to 4.5.4
* With the NetBox 4.5 release Python 3.10 and 3.11 are officially no
longer supported. The whole code can still be compiled without any
problems using Python 3.11, which is the current default version in
the ports tree.
Therefore, the minimum version for Python doesn't need to be raised
for the time being, but this may change at any time as soon as
backward-incompatible changes to the code lands into upstream for
the next release.
* Also prune update instructions for NetBox releases older than 3.5
while I'm here.
Netbox 4.5 contains many bugfixes/enhancements and the following new
features:
* Lookup Modifiers in Filter Forms
[8 lines not shown]
[libc++][NFC] Introduce __data() to std::string to replace std::__to_address(__get_pointer()) (#178212)
`std::__to_address(__get_pointer())` is an extremely common pattern
inside `string` and is basically equivalent to `data()`, except that
`data()` only returns a non-const pointer since C++17. This patch
introduces `__data()` to back-port returning a non-const pointer.
libclc: Reimplement amdhsa workitem functions
These were quite out of date and broken. These were originally
implemented for clover, which at one point was aiming for HSA v2 ABI
near compatibility. Since clover has been removed, that path is dead.
This was also broken for the modern HSA ABIs. Update to assume the
v5 ABI.
[ELF] Move ArmCmseSGSection into Arch/ARM.cpp (#184570)
Move the ArmCmseSGVeneer and ArmCmseSGSection class definitions from
SyntheticSections.h into the anonymous namespace in Arch/ARM.cpp, where
the implementations already reside. Rename ArmCmseSGVeneer to
CmseSGVeneer as it no longer needs the Arm prefix for disambiguation.
[WebAssembly] Print type signature and table for call_indirect (#179120)
Update WebAssemblyInstPrinter.cpp to correctly print type
and table operands for both register and stack modes.
[mlir] Add option to ignore commutativity in OperationEquality (#181507)
This adds a new flag, `IgnoreCommutativity`, to the OperationEquivalence
flags. When toggled, regular equivalence and hashing will be used
instead of calls to `checkCommutativeEquivalent` and
commutative-invariant hashing.
This means that commutative operations will not be considered equivalent
when their operands are in a different order (i.e. `arith.addi(%a, %b)`
vs. `arith.addi(%b, %a)`).
[Loads] Allow replacement of null with ptr in `canReplacePointersIfEqual`
It should always be valid to allow the replacement of null with the
destination pointer, as moving from nullary provenance to a non-nullary
one preserves provenance monotonicity.