Skip to content

Add acosf16() function #127725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 134 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
ff2a8da
Add acosf16() function
wldfngrs Feb 18, 2025
c797232
[AMDGPU][NewPM] Port GCNNSAReassign pass to new pass manager (#125034)
vikramRH Feb 18, 2025
3c76b4c
[clangd] Enable parsing of forwarding functions in the preamble by de…
HighCommander4 Feb 18, 2025
3153708
[clang][Index] Use HeuristicResolver in libIndex (#125153)
HighCommander4 Feb 18, 2025
e446677
[mlir][bazel] Port https://github.com/llvm/llvm-project/commit/517800…
chsigg Feb 18, 2025
402e219
[RISCV] Use policy instead of ForceTailAgnostic for vmsbf/vmsif/vmsof…
topperc Feb 18, 2025
094138e
[RISCV] Implement isHighLatencyDef() (#127476)
wangpc-pp Feb 18, 2025
dd7f4a0
[clang][bazel] Port https://github.com/llvm/llvm-project/commit/d09cc…
chsigg Feb 18, 2025
ef9287b
[mlir][bazel] Fix after https://github.com/llvm/llvm-project/pull/127544
chsigg Feb 18, 2025
8c1515e
[mlir][tensor] Remove unnecessary include.
chsigg Feb 18, 2025
bea2e27
[InstCombine] Fold shift+cttz with power of 2 operands (#127055)
MDevereau Feb 18, 2025
41ff9f4
[mlir][scf] add unroll-full option to test-loop-unrolling pass (#127158)
linuxlonelyeagle Feb 18, 2025
40dd828
[X86] emitEpilogue - silence implicit integer extension warning. (#12…
RKSimon Feb 18, 2025
123cb65
[X86] combineConcatVectorOps - add EXTEND_VECTOR_INREG() 512-bit hand…
RKSimon Feb 18, 2025
85f133b
[clang-format] Fix a bug in annotating StartOfName (#127545)
owenca Feb 18, 2025
d0c402e
[BOLT] Only link and initialize supported targets (#127509)
nikic Feb 18, 2025
fc7bbf3
[CodeGen] Use getSignedConstant() in more places (#127501)
nikic Feb 18, 2025
c1d0aa7
AMDGPU: Remove redundant inline constant check (#127582)
arsenm Feb 18, 2025
8b1f82b
[Clang][P1061] Consolidate ResolvedUnpexandedPackExpr into FunctionPa…
ricejasonf Feb 18, 2025
cb996ae
[clang][Sema] Fix type of an statement expression ending with an atom…
alejandro-alvarez-sonarsource Feb 18, 2025
6b6b9d5
[flang][Lower][OpenMP] Don't read moldarg for static sized array (#12…
tblah Feb 18, 2025
d36ede4
[SelectionDAG] Add PARTIAL_REDUCE_U/SMLA ISD Nodes (#125207)
JamesChesterman Feb 18, 2025
a9f8681
Revert "[flang][Lower][OpenMP] Don't read moldarg for static sized ar…
tblah Feb 18, 2025
666fd9a
[libclc] Disable external-calls testing for clspv targets (#127529)
frasercrmck Feb 18, 2025
eb45c73
LLVM/Test: Mark Mips readcyclecounter.ll XFAIL: expensive_checks (#12…
wzssyqa Feb 18, 2025
a2359c1
[SPIR-V] Fix out-of-range value for NumWorkgroups builtin (#127198)
svenvh Feb 18, 2025
09c0dd5
[clang][RISCV] Introduce preprocessor macro when Zicfiss-based shadow…
mylai-mtk Feb 18, 2025
47a888a
[mlir][x86vector] AVX512-BF16 Convert packed F32 to BF16 (#125685)
adam-smnk Feb 18, 2025
d17bf1f
[AMDGPU] Early bail in getFunctionCodeSize for meta inst. NFC. (#127129)
rampitec Feb 18, 2025
20e7ddb
AMDGPU: Extract lambda used in foldImmediate into a helper function (…
arsenm Feb 18, 2025
7c52d1e
[analyzer] Add hack in ArrayBound to cover up missing casts (#127117)
NagyDonat Feb 18, 2025
43de648
AMDGPU: Handle subregister uses in SIFoldOperands constant folding (#…
arsenm Feb 18, 2025
42372ad
[bolt][bazel] Port https://github.com/llvm/llvm-project/commit/e235fc…
chsigg Feb 18, 2025
f522460
[LAA] Rework and rename stripGetElementPtr (#125315)
artagnon Feb 18, 2025
a8e89b9
[AArch64] Add a phase-ordering test for dividing vscale. NFC
davemgreen Feb 18, 2025
6e1f0ab
[mlir][vector] Update tests for xfer permutation lowering (3/N) (#127…
banach-space Feb 18, 2025
deb65f9
[SPIR-V] Built-in variables: mapping from an OpenCL to SPIR-V BuiltIn…
VyacheslavLevytskyy Feb 18, 2025
c706790
[libc++] Do not guard inclusion of wchar.h with _LIBCPP_HAS_WIDE_CHAR…
stevew817 Feb 18, 2025
b448e29
[ORC] Propagate weak & hidden flags when creating lazy reexports, red…
lhames Feb 18, 2025
0cb0c86
[FunctionAttrs] Fix typo in `getArgumentAccessInfo` name (NFC)
antoniofrighetto Feb 18, 2025
63633d0
[CodeGen][NewPM] Port RegAllocEvictionAdvisor analysis to NPM (#117309)
optimisan Feb 18, 2025
44fc789
[mlir][bazel] Fix `no-allow-shlib-undefined` errors.
chsigg Feb 18, 2025
37ab5b2
[MLIR] Update `operator<<` in objects of DataFlowFramework.h (#127586)
ita9naiwa Feb 18, 2025
285debc
[libclc] Suppress data-layout warnings during linking (#127532)
frasercrmck Feb 18, 2025
e079ae3
[llvm][docs] Fix typo in Backporting section of GitHub.rst.
paulwalker-arm Feb 18, 2025
b23325e
[mlir][spirv] Add definition for OpKill (#126554)
IgWod-IMG Feb 18, 2025
c3d498a
AMDGPU: Correct legal literal operand logic for multiple uses (#127594)
arsenm Feb 18, 2025
497de1b
[gn] Move write_target_def_file to its own .gni file
nico Feb 18, 2025
709d76c
[gn] port e235fcb582ee (bolt TargetConfig.def)
nico Feb 18, 2025
760d2d9
[clang][bytecode] Allow up/down casts of nullptr (#127615)
tbaederr Feb 18, 2025
e19f0c2
[mlir][nfc] Add a negative test for --linalg-specialize-generic-ops (…
banach-space Feb 18, 2025
29744cb
[SystemZ][z/OS] Mark text files as text in ClangScanDeps (#127514)
abhina-sree Feb 18, 2025
3f0174e
[BasicAA] Add test for #126670 (NFC)
nikic Feb 18, 2025
7b0990f
[bazel]Move HAVE_GETAUXVAL from config.h to config.bzl (#127637)
dklimkin Feb 18, 2025
f5187d1
[MLIR] emitc: Add emitc.file op (#123298)
mgehre-amd Feb 18, 2025
1f10084
[clang][bytecode] Move bases and virtual bases in moveRecord (#127627)
tbaederr Feb 18, 2025
4b61c1e
[X86] canonicalizeShuffleWithOp - add handling for X86ISD::VPERMV nod…
RKSimon Feb 18, 2025
58d9901
[libclc] Use CLC conversion builtins in CLC functions (#127628)
frasercrmck Feb 18, 2025
eadc477
[libclc][NFC] Rename macro; undef at end of file
frasercrmck Feb 18, 2025
460be82
[RISCV] Add policy operand to masked vector compare pseudos. Remove F…
topperc Feb 18, 2025
45edf03
[VPlan] Build initial VPlan 0 using HCFGBuilder for inner loops. (NFC…
fhahn Feb 18, 2025
b973896
[LV] Remove unused variable after 38376dee92224c66.
fhahn Feb 18, 2025
6d72a57
[bazel] Fix build after 4cc7d60fe3e060e33cb01f054e2d26870d6256b7
d0k Feb 18, 2025
5026d51
Define Telemetry plugin for LLDB. (#126588)
oontvoo Feb 18, 2025
d22a2d9
[MLIR][Math] Add erfc to math dialect (#126439)
jsjodin Feb 18, 2025
722226a
[SLP]Fix hanging on small trees with phis only with adjusted cost thr…
alexey-bataev Feb 18, 2025
44ff0c6
[AMDGPU][True16][CodeGen] FLAT_load using D16 pseudo instruction (#11…
broxigarchen Feb 18, 2025
5658be2
[Clang] Add 'instantiated_from' for enums in TextNodeDumper (#124409)
thebrandre Feb 18, 2025
5773b95
[lldb] Fix a warning
kazutakahirata Feb 18, 2025
3e75c14
[MLIR][OpenMP] Add OMP Declare Mapper MLIR Op definition (#117045)
TIFitis Feb 18, 2025
a9f8bc6
[SCEV] Generate test checks (NFC)
nikic Feb 18, 2025
7d4c80f
Addressed additional review comments from PR/119716. (#126757)
oontvoo Feb 18, 2025
67d7c11
Revert "[AMDGPU][True16][CodeGen] FLAT_load using D16 pseudo instruct…
nikic Feb 18, 2025
5ab333a
[SLP]Fix a crash when comparing phis from unreachable blocks
alexey-bataev Feb 18, 2025
1c41b24
[RISCV] Move the RISCVII namespaced enums into RISCVVType namespace i…
topperc Feb 18, 2025
2062dc4
[lld][MachO] Test with exported_symbol and exported_symbols_list toge…
ellishg Feb 18, 2025
a7aed42
[MLIR][OpenMP] Add Lowering support for OpenMP Declare Mapper directi…
TIFitis Feb 18, 2025
1940637
[AMDGPU] Avoid repeated hash lookups (NFC) (#127573)
kazutakahirata Feb 18, 2025
86c0cfa
[Analysis] Avoid repeated hash lookups (NFC) (#127574)
kazutakahirata Feb 18, 2025
4507b1c
[AsmPrinter] Avoid repeated map lookups (NFC) (#127576)
kazutakahirata Feb 18, 2025
e554113
[ExecutionEngine] Avoid repeated hash lookups (NFC) (#127577)
kazutakahirata Feb 18, 2025
ef50c47
[Hexagon] Avoid repeated hash lookups (NFC) (#127578)
kazutakahirata Feb 18, 2025
5c2094f
[X86] Avoid repeated hash lookups (NFC) (#127579)
kazutakahirata Feb 18, 2025
04308e5
[MLIR][LLVM] Refactor globals insertion point in import (#127490)
xlauko Feb 18, 2025
a931bca
[X86] Add test coverage for bfloat <-> half conversion
RKSimon Feb 18, 2025
46ddfd6
[DSE] Update dereferenceable attributes when adjusting memintrinsic p…
bjope Feb 18, 2025
fb36c68
[NFC][TableGen] Cleanup iterators in CodeGenSchedule.h (#127401)
jurahul Feb 18, 2025
60936fc
[offload] Remove redundant checks in MappingInfoTy::lookupMapping (#1…
kparzysz Feb 18, 2025
bb55680
[NFC] [clang] make isFlexibleArrayMemberLike Ctx const (#126656)
fmayer Feb 18, 2025
e589e72
[NVPTX] Use MCRegister. NFC
topperc Feb 18, 2025
dcea749
[PowerPC] Use MCRegister. NFC
topperc Feb 18, 2025
86c069f
[MLIR][OpenMP] Add OMP Mapper field to MapInfoOp (#120994)
TIFitis Feb 18, 2025
56a3b71
[MLIR][OpenMP] Add Lowering support for OpenMP custom mappers in map …
TIFitis Feb 18, 2025
18834a0
[MLIR][OpenMP] Add conversion support from FIR to LLVM Dialect for OM…
TIFitis Feb 18, 2025
e681d6f
[MLIR][OpenMP] Add LLVM translation support for OpenMP UserDefinedMap…
TIFitis Feb 18, 2025
8a842f0
[Analysis] Remove unused functions in CallGraphNode (#127411)
kazutakahirata Feb 18, 2025
b572d42
[Analysis] Remove skipSCC (#127412)
kazutakahirata Feb 18, 2025
934d655
[mlir][GPUDialect] Add cmdOption suffix consumer in GpuModuleToBinary…
MikaOvO Feb 18, 2025
25ce993
[lldb][NFC] remove AdaptedConstIterator and AdaptedIterable (#127507)
dlav-sc Feb 18, 2025
e29575d
[mlir] Integrate OpAsmTypeInterface with AsmPrinter (#124700)
ZenithalHourlyRate Feb 18, 2025
6273ed8
[mlir] Introduce OpAsmAttrInterface for pretty-print (#124721)
ZenithalHourlyRate Feb 18, 2025
95740ff
[libc++] Updates the compilers used post LLVM-20 branching. (#126564)
mordante Feb 18, 2025
cd2c17f
X86: Fix convertToThreeAddress losing subregister indexes (#124098)
arsenm Feb 18, 2025
ae6f2b9
[libc++][TZDB] Improves system time zone detection. (#127339)
mordante Feb 18, 2025
063ad88
[mlir] Add getAlias for OpAsmTypeInterface (#126364)
ZenithalHourlyRate Feb 18, 2025
87e690d
[bazel] Port 7c104b63c7aae66cf91fa65b04011c49641b456d
d0k Feb 18, 2025
566a322
[PowerPC] Used named subreg indices instead of hardcoded numbers. NFC…
topperc Feb 18, 2025
54687dd
[HLSL] Bug fix crash using Array Parameters when De-sugaring is the s…
spall Feb 18, 2025
3a2f485
[SandboxVec][DAG] Implement DAG maintainance on Instruction removal (…
vporpo Feb 18, 2025
2c2d4b0
[SandboxVec] Move seed collection into its own separate pass (#127132)
vporpo Feb 18, 2025
fb8350b
[CodeGen] Remove getSubReg from TargetRegisterInfo. NFC (#127680)
topperc Feb 18, 2025
f29d688
Fix for issue #126162: warn for inconsistent Python search options (#…
dbabokin Feb 18, 2025
f430b9c
[HLSL] Add more tests to root signature metadata extraction (#127283)
joaosaffran Feb 18, 2025
41dc11c
[InstCombine] Add test for regression in #127398. (NFC)
andjo403 Feb 18, 2025
4e47f26
[mlir][bazel] Remove implementation from LinalgInterfaces target.
chsigg Feb 18, 2025
fdfe708
[libc++][NFC] Clarify libc++'s stance about implementing the Networki…
ldionne Feb 18, 2025
d94a56f
[ELF][LTO] Add baseline test for invalid relocations against runtime …
arichardson Feb 18, 2025
d7a2313
[libc++] Add Hagenberg issues and papers to the Status pages (#127510)
ldionne Feb 18, 2025
34a4e54
[AMDGPU] Generalize amdgcn.make.buffer.rsrc to fat pointers (#126828)
krzysz00 Feb 18, 2025
d0b7ebc
[MLIR] emitc: Add fmtArgs to verbatim (#123294)
mgehre-amd Feb 18, 2025
82305da
[lldb][Mach-O] Read dyld_all_image_infos addr from `main bin spec` LC…
jasonmolenda Feb 18, 2025
bcfa94f
[mlir] Fix warnings
kazutakahirata Feb 18, 2025
3fa8561
[PGO] Fix incorrect count threshold calculation when 0% cutoff (#117359)
ken-matsui Feb 18, 2025
8b9aab4
[flang-rt] Fixed uninitialized class member variable (#127681)
eugeneepshteyn Feb 18, 2025
433b66f
[gn] port e235fcb582ee more (bolt TargetConfig.def)
nico Feb 18, 2025
c6d31bc
[gn build] Port 5ecce45ea298
llvmgnsyncbot Feb 18, 2025
02d00fd
[AMDGPU] Respect MBB alignment in the getFunctionCodeSize() (#127142)
rampitec Feb 18, 2025
7e4e0a4
[Clang] Warn about `[[noreturn]]` on coroutines (#127623)
Nerixyz Feb 18, 2025
d358ca6
[SandboxVec] Replace hard-coded context save() with transaction-save …
vporpo Feb 18, 2025
619dd63
[gn build] Port 0f6c18e8c65b
llvmgnsyncbot Feb 18, 2025
0ceccda
[InstCombine] Test trunc to i1 in foldSelectICmpAnd. (NFC)
andjo403 Feb 18, 2025
cf1e249
[clang][docs] Fix typos concerning wasm __funcref (#124365)
anematode Feb 18, 2025
eec87e7
[AMDGPU][True16][CodeGen] reopen "FLAT_load using D16 pseudo instruct…
broxigarchen Feb 18, 2025
effd133
[mlir][tosa] Make TOSA RESIZE's scale, offset, border as Input (#124956)
Hsiangkai Feb 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 16 additions & 12 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
stage1:
if: github.repository_owner == 'llvm'
runs-on: libcxx-self-hosted-linux
container: ghcr.io/llvm/libcxx-linux-builder:d8a0709b1090350a7fe3604d8ab78c7d62f10698
container: ghcr.io/llvm/libcxx-linux-builder:b319dfef21f6c7b0bc6a356d6b9f41a3b3b98ae9
continue-on-error: false
strategy:
fail-fast: false
Expand All @@ -48,8 +48,8 @@ jobs:
'generic-cxx26',
'generic-modules'
]
cc: [ 'clang-20' ]
cxx: [ 'clang++-20' ]
cc: [ 'clang-21' ]
cxx: [ 'clang++-21' ]
include:
- config: 'generic-gcc'
cc: 'gcc-14'
Expand All @@ -75,7 +75,7 @@ jobs:
stage2:
if: github.repository_owner == 'llvm'
runs-on: libcxx-self-hosted-linux
container: ghcr.io/llvm/libcxx-linux-builder:d8a0709b1090350a7fe3604d8ab78c7d62f10698
container: ghcr.io/llvm/libcxx-linux-builder:b319dfef21f6c7b0bc6a356d6b9f41a3b3b98ae9
needs: [ stage1 ]
continue-on-error: false
strategy:
Expand All @@ -88,18 +88,22 @@ jobs:
'generic-cxx20',
'generic-cxx23'
]
cc: [ 'clang-20' ]
cxx: [ 'clang++-20' ]
cc: [ 'clang-21' ]
cxx: [ 'clang++-21' ]
include:
- config: 'generic-gcc-cxx11'
cc: 'gcc-14'
cxx: 'g++-14'
- config: 'generic-cxx23'
cc: 'clang-18'
cxx: 'clang++-18'
- config: 'generic-cxx26'
cc: 'clang-20'
cxx: 'clang++-20'
- config: 'generic-cxx26'
cc: 'clang-19'
cxx: 'clang++-19'
# Release transition
- config: 'generic-cxx23'
cc: 'clang-18'
cxx: 'clang++-18'
steps:
- uses: actions/checkout@v4
- name: ${{ matrix.config }}
Expand Down Expand Up @@ -163,14 +167,14 @@ jobs:
- config: 'generic-msan'
machine: libcxx-self-hosted-linux
runs-on: ${{ matrix.machine }}
container: ghcr.io/llvm/libcxx-linux-builder:d8a0709b1090350a7fe3604d8ab78c7d62f10698
container: ghcr.io/llvm/libcxx-linux-builder:b319dfef21f6c7b0bc6a356d6b9f41a3b3b98ae9
steps:
- uses: actions/checkout@v4
- name: ${{ matrix.config }}
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
env:
CC: clang-20
CXX: clang++-20
CC: clang-21
CXX: clang++-21
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
Expand Down
8 changes: 8 additions & 0 deletions bolt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,11 @@ endif()

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/bolt/RuntimeLibs/RuntimeLibraryVariables.inc.in
${CMAKE_CURRENT_BINARY_DIR}/include/bolt/RuntimeLibs/RuntimeLibraryVariables.inc @ONLY)

set(BOLT_ENUM_TARGETS "")
foreach(t ${BOLT_TARGETS_TO_BUILD})
set(BOLT_ENUM_TARGETS "${BOLT_ENUM_TARGETS}BOLT_TARGET(${t})\n")
endforeach(t)

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/bolt/Core/TargetConfig.def.in
${CMAKE_CURRENT_BINARY_DIR}/include/bolt/Core/TargetConfig.def @ONLY)
23 changes: 23 additions & 0 deletions bolt/include/bolt/Core/TargetConfig.def.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//===-- TargetConfig.def.in - Information about available targets ---------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file is configured by the build system to define the available bolt
// targets.
//
// The variant of this file not ending with .in has been autogenerated by the
// LLVM build. Do not edit!
//
//===----------------------------------------------------------------------===//

#ifndef BOLT_TARGET
# error Please define the macro BOLT_TARGET(TargetName)
#endif

@BOLT_ENUM_TARGETS@

#undef BOLT_TARGET
2 changes: 1 addition & 1 deletion bolt/tools/binary-analysis/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
${BOLT_TARGETS_TO_BUILD}
MC
Object
Support
Expand Down
16 changes: 9 additions & 7 deletions bolt/tools/binary-analysis/binary-analysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@ int main(int argc, char **argv) {
llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.

// Initialize targets and assembly printers/parsers.
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllDisassemblers();

llvm::InitializeAllTargets();
llvm::InitializeAllAsmPrinters();
#define BOLT_TARGET(target) \
LLVMInitialize##target##TargetInfo(); \
LLVMInitialize##target##TargetMC(); \
LLVMInitialize##target##AsmParser(); \
LLVMInitialize##target##Disassembler(); \
LLVMInitialize##target##Target(); \
LLVMInitialize##target##AsmPrinter();

#include "bolt/Core/TargetConfig.def"

ParseCommandLine(argc, argv);

Expand Down
2 changes: 1 addition & 1 deletion bolt/tools/driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
${BOLT_TARGETS_TO_BUILD}
MC
Object
Support
Expand Down
16 changes: 9 additions & 7 deletions bolt/tools/driver/llvm-bolt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,15 @@ int main(int argc, char **argv) {
std::string ToolPath = llvm::sys::fs::getMainExecutable(argv[0], nullptr);

// Initialize targets and assembly printers/parsers.
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllDisassemblers();

llvm::InitializeAllTargets();
llvm::InitializeAllAsmPrinters();
#define BOLT_TARGET(target) \
LLVMInitialize##target##TargetInfo(); \
LLVMInitialize##target##TargetMC(); \
LLVMInitialize##target##AsmParser(); \
LLVMInitialize##target##Disassembler(); \
LLVMInitialize##target##Target(); \
LLVMInitialize##target##AsmPrinter();

#include "bolt/Core/TargetConfig.def"

ToolName = argv[0];

Expand Down
2 changes: 1 addition & 1 deletion bolt/tools/heatmap/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
${BOLT_TARGETS_TO_BUILD}
MC
Object
Support
Expand Down
16 changes: 9 additions & 7 deletions bolt/tools/heatmap/heatmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,15 @@ int main(int argc, char **argv) {
opts::OutputFilename = "-";

// Initialize targets and assembly printers/parsers.
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllDisassemblers();

llvm::InitializeAllTargets();
llvm::InitializeAllAsmPrinters();
#define BOLT_TARGET(target) \
LLVMInitialize##target##TargetInfo(); \
LLVMInitialize##target##TargetMC(); \
LLVMInitialize##target##AsmParser(); \
LLVMInitialize##target##Disassembler(); \
LLVMInitialize##target##Target(); \
LLVMInitialize##target##AsmPrinter();

#include "bolt/Core/TargetConfig.def"

ToolName = argv[0];
std::string ToolPath = GetExecutablePath(argv[0]);
Expand Down
2 changes: 1 addition & 1 deletion bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
${BOLT_TARGETS_TO_BUILD}
)

add_llvm_fuzzer(llvm-bolt-fuzzer
Expand Down
15 changes: 9 additions & 6 deletions bolt/tools/llvm-bolt-fuzzer/llvm-bolt-fuzzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,16 @@ extern "C" int LLVMFuzzerTestOneInput(const char *Data, size_t Size) {

extern "C" LLVM_ATTRIBUTE_USED int LLVMFuzzerInitialize(int *argc,
char ***argv) {
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllDisassemblers();
// Initialize targets and assembly printers/parsers.
#define BOLT_TARGET(target) \
LLVMInitialize##target##TargetInfo(); \
LLVMInitialize##target##TargetMC(); \
LLVMInitialize##target##AsmParser(); \
LLVMInitialize##target##Disassembler(); \
LLVMInitialize##target##Target(); \
LLVMInitialize##target##AsmPrinter();

llvm::InitializeAllTargets();
llvm::InitializeAllAsmPrinters();
#include "bolt/Core/TargetConfig.def"

return 0;
}
15 changes: 9 additions & 6 deletions bolt/unittests/Core/BinaryContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ struct BinaryContextTester : public testing::TestWithParam<Triple::ArchType> {

protected:
void initalizeLLVM() {
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllDisassemblers();
llvm::InitializeAllTargets();
llvm::InitializeAllAsmPrinters();
#define BOLT_TARGET(target) \
LLVMInitialize##target##TargetInfo(); \
LLVMInitialize##target##TargetMC(); \
LLVMInitialize##target##AsmParser(); \
LLVMInitialize##target##Disassembler(); \
LLVMInitialize##target##Target(); \
LLVMInitialize##target##AsmPrinter();

#include "bolt/Core/TargetConfig.def"
}

void prepareElf() {
Expand Down
2 changes: 1 addition & 1 deletion bolt/unittests/Core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set(LLVM_LINK_COMPONENTS
DebugInfoDWARF
Object
MC
${LLVM_TARGETS_TO_BUILD}
${BOLT_TARGETS_TO_BUILD}
)

add_bolt_unittest(CoreTests
Expand Down
15 changes: 9 additions & 6 deletions bolt/unittests/Core/MCPlusBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,15 @@ struct MCPlusBuilderTester : public testing::TestWithParam<Triple::ArchType> {

protected:
void initalizeLLVM() {
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllDisassemblers();
llvm::InitializeAllTargets();
llvm::InitializeAllAsmPrinters();
#define BOLT_TARGET(target) \
LLVMInitialize##target##TargetInfo(); \
LLVMInitialize##target##TargetMC(); \
LLVMInitialize##target##AsmParser(); \
LLVMInitialize##target##Disassembler(); \
LLVMInitialize##target##Target(); \
LLVMInitialize##target##AsmPrinter();

#include "bolt/Core/TargetConfig.def"
}

void prepareElf() {
Expand Down
15 changes: 9 additions & 6 deletions bolt/unittests/Core/MemoryMaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@ struct MemoryMapsTester : public testing::TestWithParam<Triple::ArchType> {

protected:
void initalizeLLVM() {
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargetMCs();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllDisassemblers();
llvm::InitializeAllTargets();
llvm::InitializeAllAsmPrinters();
#define BOLT_TARGET(target) \
LLVMInitialize##target##TargetInfo(); \
LLVMInitialize##target##TargetMC(); \
LLVMInitialize##target##AsmParser(); \
LLVMInitialize##target##Disassembler(); \
LLVMInitialize##target##Target(); \
LLVMInitialize##target##AsmPrinter();

#include "bolt/Core/TargetConfig.def"
}

void prepareElf() {
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clangd/ClangdServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class ClangdServer {
bool UseDirtyHeaders = false;

// If true, parse emplace-like functions in the preamble.
bool PreambleParseForwardingFunctions = false;
bool PreambleParseForwardingFunctions = true;

/// Whether include fixer insertions for Objective-C code should use #import
/// instead of #include.
Expand Down Expand Up @@ -501,7 +501,7 @@ class ClangdServer {
// Whether the client supports folding only complete lines.
bool LineFoldingOnly = false;

bool PreambleParseForwardingFunctions = false;
bool PreambleParseForwardingFunctions = true;

bool ImportInsertions = false;

Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/Compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class IgnoreDiagnostics : public DiagnosticConsumer {

// Options to run clang e.g. when parsing AST.
struct ParseOptions {
bool PreambleParseForwardingFunctions = false;
bool PreambleParseForwardingFunctions = true;

bool ImportInsertions = false;
};
Expand Down
6 changes: 3 additions & 3 deletions clang/docs/LanguageExtensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2629,7 +2629,7 @@ with the current table size.
.. code-block:: c++

typedef void (*__funcref funcref_t)();
static __funcref table[0];
static funcref_t table[0];

size_t getSize() {
return __builtin_wasm_table_size(table);
Expand All @@ -2651,10 +2651,10 @@ or -1. It will return -1 if not enough space could be allocated.
.. code-block:: c++

typedef void (*__funcref funcref_t)();
static __funcref table[0];
static funcref_t table[0];

// grow returns the new table size or -1 on error.
int grow(__funcref fn, int delta) {
int grow(funcref_t fn, int delta) {
int prevSize = __builtin_wasm_table_grow(table, fn, delta);
if (prevSize == -1)
return -1;
Expand Down
1 change: 1 addition & 0 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ Bug Fixes to C++ Support

Bug Fixes to AST Handling
^^^^^^^^^^^^^^^^^^^^^^^^^
- Fixed type checking when a statement expression ends in an l-value of atomic type. (#GH106576)

Miscellaneous Bug Fixes
^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion clang/include/clang/AST/DeclBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ class alignas(8) Decl {
/// perform non-Decl specific checks based on the object's type and strict
/// flex array level.
static bool isFlexibleArrayMemberLike(
ASTContext &Context, const Decl *D, QualType Ty,
const ASTContext &Context, const Decl *D, QualType Ty,
LangOptions::StrictFlexArraysLevelKind StrictFlexArraysLevel,
bool IgnoreTemplateOrMacroSubstitution);

Expand Down
Loading
Loading