Remove asyncio.to_thread usages
This commit adds changes to remove asyncio to_thread usages in keychain/file_app files since it's creates it's own executor whereas we already have one which we can/should use.
[CIR] Handle empty unions in record lowering and LLVM conversion (#172666)
Handle empty unions in CIR record lowering and LLVM conversion by
emitting padding when needed, guarding `getLargestMember` for
empty/padded unions, and lowering to empty or padded LLVM structs based
on language rules.
Added regression tests for C and C++ empty union lowering in
`clang/test/CIR/CodeGen/empty-union.c` and `empty-union.cpp`.
[AArch64][llvm] Add extra dependencies for recently added features
Add a couple of extra dependencies, for recently added features:
```
FeatureMTETC -> enable FeatureMTE (aka memtag)
FeatureMOPS_GO -> enable FeatureMTE and FeatureMOPS
```
[asan][AIX] Set allocator size and beginning (#144784)
On 64-bit AIX, set allocator size to 256G and set beginning to
0x0a00000000000000.
Issue: #138916
---------
Co-authored-by: Hubert Tong <hubert.reinterpretcast at gmail.com>
smartpqi: update to version 4660.0.2002
This updates the smartpqi driver to Microchip's
latest available public release.
Reviewed by: imp
Approved by: imp
Sponsored by: Microchip Technology Inc.
Differential Revision: https://reviews.freebsd.org/D52507
(cherry picked from commit c558eca47970c8467ed0494145f08d1879050bbd)
[LLVM][TableGen] Use integers instead of string in CodeEmitterGen CaseMap (#172885)
CodeEmitterGen CaseMap values is always a vector of integer IDs (HwMode
or instruction opcode). So change the map values to be a vector of
integers instead of strings and instead print the string form when
emitting the case statements. This will help reduce the memory footprint
by not storing potentially long strings (for opcode names) in the map.
[RISCV] Prevent P extension from creating unaligned scalar load/store insructions. (#174878)
The P extension requires us to use base ISA load/store instructions for
small vectors. We need to make sure we don't generate misaligned
instructions.
We'll need to do more work here if we want P and V to be enabled at the
same time, but that's a future problem.
smartpqi: update to version 4660.0.2002
This updates the smartpqi driver to Microchip's
latest available public release.
Reviewed by: imp
Approved by: imp
Sponsored by: Microchip Technology Inc.
Differential Revision: https://reviews.freebsd.org/D52507
(cherry picked from commit c558eca47970c8467ed0494145f08d1879050bbd)
smartpqi: update to version 4660.0.2002
This updates the smartpqi driver to Microchip's
latest available public release.
Reviewed by: imp
Approved by: imp
Sponsored by: Microchip Technology Inc.
Differential Revision: https://reviews.freebsd.org/D52507
[lldb] Fix crash when passing a folder in as the executable (#175181)
This is another instance where we weren't checking that the result of
FileSystem::CreateDataBuffer and unconditionally accessing it, similar
to the bug in SourceManager last week. In this particular case,
ObjectFile was assuming that we can read the contents non-zero, which
isn't true for directory nodes.
Jim figured this one out yesterday. I'm just putting up the patch and
adding a test.
rdar://167796036
Rework system dataset migration to be less bad
This commit reworks how we migrate the system datasets so that
it's somewhat less racy and uses kernel APIs for this.
On migration:
1. build new mount tree in middleware run dir
2. sync data from old to new
3. move new under old
4. move old to middleware rundir
5. restart services
6. cleanup
[Clang][Driver] Disable crash-ir-repro.cpp on UBSan
UBSan causes the test to raise a signal, which violates the not
expectations after recent lit expectations.
[flang] Visit "source" member in all AST nodes
Some AST nodes had their "source" member visited by the parse tree
visitor, while others, in particular those that were handled by the
trait-based visitors, did not.
Make sure that we call the Walk function on the "source" member for
all classes that have it.
[RISCV] Merge multiple QC_EXTU patterns using ImmLeaf and SDNodeXForm. (#175119)
Instead of matching 6 different masks, use an ImmLeaf to detect any of
the 6 masks.
This isn't NFC because using an immediate directly will call
computeKnownBits to fill in bits that are expected to be 1, but have
been cleared because they are known 0 in the LHS of the and. We don't
have tests for this, if it's important we can switch to a ComplexPattern
to restore that behavior.