[clang][NFC] `getAsVoidPointer` and `getFromVoidPointer` should deal in pointers to `const`
Rather than just blindly assuming we can modify the data pointed to by a `const void *`, just accept and return `const`-qualified pointers. This eliminates a `const_cast` and makes a `reinterpret_cast` no longer act as a `const_cast`.
[RISCV] Guard zero-stride load SchedPredicate with subtarget feature as well (#172111)
The SchedPredicate for zero-stride vector load will now only trigger
when the `rs2` operand is X0 and the subtarget has
TuneOptimizedZeroStrideLoad.
This is effectively a NFC, as all the existing processors that use
`VLDSX0Pred` all have `TuneOptimizedZeroStrideLoad`.
AMDGPU: Avoid introducing unnecessary fabs in fast fdiv lowering
If the sign bit of the denominator is known 0, do not emit the fabs.
Also, extend this to handle min/max with fabs inputs.
I originally tried to do this as the general combine on fabs, but
it proved to be too much trouble at this time. This is mostly
complexity introduced by expanding the various min/maxes into
canonicalizes, and then not being able to assume the sign bit
of canonicalize (fabs x) without nnan.
This defends against future code size regressions in the atan2 and
atan2pi library functions.
Update to dhcpsd-0.0.6 with the following changes:
* DHCP: Fix copying out FQDN hostname
* lua: add add_domain function to encode a string using RFC 1035
* DHCP: work with the broadcast flag correctly
* DHCP: Sanitize incoming hostnames for RFC1053 conformance
* DHCP: Fix plugin leasetime
[TableGen][SchedModel] Add logical combiners for SchedPredicates (#172106)
Sometimes we want to create a SchedPredicate out of different types of
SchedPredicate: composing a `FeatureSchedPredicate` with a
`MCSchedPredicate`, for example. For those cases, this patch creates
several new TableGen constructions so that users can create a
SchedPredicate like
```
AllOfSchedPreds<[FeatureFooPred,
MCSchedPredicate<CheckZeroOperand<1>>]>
```
which evaluates to true only when both `FeatureFooPred` and
`MCSchedPredicate<CheckZeroOperand<1>>` hold.
[clang][NFC] Make `CFGElement` `const`-correct (#172547)
Remove an unnecessary mutable overload of `getTerminatorCondition`.
Remove all `const_cast` from `CFG.h`.