[libc-commits] [libc] libcPrintfTableOption (PR #66151)

via libc-commits libc-commits at lists.llvm.org
Tue Sep 12 14:57:50 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc
            
<details>
<summary>Changes</summary>
- [GitHub] Add main LLVM Dialect path to MLIR LLVM PR subscribers (#65513)
- [gn build] Manually port 46f3ade
- [flang][openacc][NFC] Clean up lowering api (#65678)
- Revert "[git-clang-format] Fix typo in help message"
- [AMDGPU] Teach CalculateByteProvider about AMDGPUISD::PERM (#65547)
- Add llvm-binary-utilities to .github/CODEOWNERS (#65545)
- `ForceFunctionAttrs`: support overriding attributes via csv file
- [clang][deps] Store common, partially-formed invocation (#65677)
- [RISCV] Lower constant build_vectors with few non-sign bits via vsext (#65648)
- [lldb/docs] Add section links to the top of the GDB to LLDB command map
- [PowerPC] Fix build error in PPCAsmPrinter.cpp (NFC)
- [Fuzzer] Update build.sh to fix build errors (#65496)
- [AIX] Use llvm::get_threadid() to get a numeric ID
- [Fuzzer] Optimize UpdateFeatureFrequency (#65288)
- [clang] Add error note when if clause is used on teams before 5.2. (#65686)
- [flang] Fix -Wcovered-switch-default in resolve-directives.cpp (NFC)
- [InstCombine] Baseline tests for folding ((A&B)^A)|((A&B)^B) to A^B
- [BOLT][test] Fix patch-entries for aarch64 buildbot (#65690)
- [InstCombine] Fold ((A&B)^A)|((A&B)^B) to A^B
- [clang][deps] Generate command lines lazily (#65691)
- [test][hwasan] Try to deflake release-shadow.c
- [OpenMP] Use the more appropriate function to retrieve the thread id on OpenBSD (#65553)
- [AIX][TLS] Add target attribute for -maix-small-local-exec-tls option.
- [AIX][TLS] Produce a faster local-exec access sequence with -maix-small-local-exec-tls (And optimize when load/store offsets are 0)
- [AIX][TLS][clang] Add -maix-small-local-exec-tls clang option.
- [Bazel] Update "basic_attr_gen" (D141714, 46f3ade5083b)
- [RISCV] Move slide and gather costing to TLI [NFC] (PR #65396)
- [NFC] Add extra documentation for GetSymbolFromOperand() in PPCMCInstLower.cpp
- [NFC]Add assert to avoid possibly deref nullptr (#65564)
- [sanitizer] Add CMake flag to build with internal symbolizer
- [NFC][sanitizer] Add a few missed RTSanitizerCommonSymbolizerInternal
- [RISCV] Enable more builtin for zvfhmin without zvfh
- Reland "[CUDA][HIP] Fix overloading resolution in global var init" (#65606)
- [Semantics] Properly fix -Wcovered-switch-default after 6d1c183c6f8be717e466f6c55f74729d178c8ee2
- [clang][MSExtentions] Fix invalid overload failure about the loss of `__unaligned` qualifier (#65248)
- [NFC][memprof] Temporarly remove RTSanitizerCommonSymbolizerInternal
- Revert accidental .gitignore change from 9b7763821aedc282059309c640f69a735b4f5760
- AMDGPU: Scratch instructions are trivially disjoint from SMEM and buffer instructions (#65287)
- [X86][NFC] Add a test case to show wrong memory folding for vinsertps
- [ASTImport]CXXBoolLiteralExpr should be handled explicitly in statement comparation
- [jitlink/rtdydl][checker] Add TargetFlag dependent disassembler switching support
- [llvm-exegesis] Make SubprocessMemoryTest use PIDs (#65245)
- [Github] Add test directories to IR/Transforms/Analysis teams (#65196)
- [PEI][PowerPC] Fix false alarm of stack size limit (#65559)
- [llvm-exegesis] Add error handling for fork failures (#65186)
- [X86] Do not directly fold for VINSERTPS (#65718)
- [bolt][X86] Correct 2 test RUN lines (#65252)
- [PowerPC] Define SchedModel for Power8
- Revert "[lldb] Add more ways to find split DWARF files"
- [ARM] Change CRC predicate to just HasCRC
- [clang-format][NFC] Skip remaining tests of the same case upon failure (#65540)
- Reland "[lldb] Add more ways to find split DWARF files"
- [lldb] Fix Process::SyncIOHandler
- [ADT] Fix an empty BitVector call getData assert `idx < size()' failed (#65505)
- [TableGen] Add a field to filter out GenericTable entries (#65458)
- Fix MIR failure after b922a362
- [flang] Use BIND name, if any, when consolidating common blocks (#65613)
- [C++20] [Modules] Introduce ForceCheckCXX20ModulesInputFiles options for C++20 modules
- [lldb][Docs] Additions to debuging LLDB page (#65635)
- [Clang] Propagate target-features if compatible when using mlink-builtin-bitcode
- [libc] Add is_member_pointer_v (#65631)
- [mlir][VectorOps] Don't drop scalable dims when lowering transfer_reads/writes (in VectorToSCF)
- [cross-project-tests] remove final `dexter.builder` import (#65653)
- [lldb][Docs] Update bug report and code review links
- SLP/RISCV: add negative test for lrint (#55208) (#65611)
- [Github] Add mlir-emitc subscribers to watch the Cpp target (#65603)
- [mlir][llvm] Add zeroinitializer constant (#65508)
- [X86] Do not check alignment for VINSERTPS (#65721)
- [mlir][LLVM] Model side effects of volatile and atomic load-store (#65730)
- Revert "[jitlink/rtdydl][checker] Add TargetFlag dependent disassembler switching support"
- [libc] Add is_scalar (#65740)
- [libc++][NFC] Run clang-format on strstream.cpp
- [libc++][NFC] tidy up strstreambuf::seekoff and strstreambuf::seekpos
- [libc++][NFC] Remove dead code in <list> (#65651)
- [lldb][AArch64] Re-enable TestShowLocationDwarf5
- [AMDGPU] Mark S_NOP as having side effects (#65745)
- [libc++] Use intptr_t instead of ptrdiff_t for messages_base::catalog
- [AArch64][GlobalISel] Fix global offset folding combine inserting MIs into wrong place.
- Support: allow building with non-C/C++ language linkers (#65634)
- [libc++abi][NFC] Run clang-format on a test that I am about to modify
- Take math-errno into account with '#pragma float_control(precise,on)' and 'attribute__((optnone)).
- [SLP]Do not early exit if the number of unique elements is non-power-of-2. (#65476)
- Revert "[Bazel] Update "basic_attr_gen" (D141714, 46f3ade5083b)"
- [bazel] Add new TableGen output files for 46f3ade5083b
- [lldb][AArch64] Re-enable clone follow tests on AArch64 Linux
- Fix the Clang sphinx build
- [clang][dataflow] Don't crash when BlockToState is called from unreachable path (#65732)
- Wrong link target in the documentation #62990
- [clang][Interp][NFC] Remove unused function prototype
- [X86] Convert X86FixupBWInsts from LivePhysRegs to LiveRegUnits. NFCI. (#65592)
- [VPlan] Use VPRecipeWithFlags for VPScalarIVStepsRecipe (NFC).
- [X86][RFC] Add new option `-m[no-]evex512` to disable ZMM and 64-bit mask instructions for AVX512 features
- [llvm][Docs] Fix missing ' in GitHub documentation
- [NFC][Clang][RISCV] Remove trailing whitespaces in riscv_vector.td (#65762)
- Revert RTSanitizerCommonSymbolizerInternal changes
- [mlir][TOSA] Fix interpretation of --tosa-validate='profile=undefined' (#65738)
- [AMDGPU] Cope with SelectionDAG::UpdateNodeOperands returning a different SDNode (#65765)
- [clang] Prevent unnecessary copies in `SymbolGraphSerializer` (NFC)
- [AMDGPU] New intrinsic void llvm.amdgcn.s.nop(i16) (#65757)
- [AArch64] Fix FMV crash on unspecified number of parameters function (#65671)
- [LV] Return debug loc directly from getDebugLocFromInstrOrOps (NFCI)
- [libc++abi] Refactor around __dynamic_cast
- [Clang] Add captures to the instantiation scope of lambda call operators
- [libc++] Fix warnings when compiling libc++ for Windows with clang-cl /W4
- [RISCV] Add gather test coverage for non-intptr index widths
- [flang] Fixed LoopVersioning for array slices. (#65703)
- [flang][hlfir] Better recognize non-overlapping array sections. (#65707)
- Add 'run' line and 'expected-no-diagnostics' to test added in 3ed9e9e3ace6f9ce320cf4e75cffa04a7c7241b5
- [LowerMatrixIntrinsics] Drop support for typed pointers (#65605)
- [lldb] Add test to document alias tab completion behaviour (#65760)
- Fix Clang Sphinx build
- Add GitHub workflow for check Python file formatting (#65482)
- [RISCV] Match gather(splat(ptr)) as zero strided load (#65769)
- workflows: Add a simple pull request subscription workflow (#64913)
- [libc] Unify gettime implementations (#65383)
- [Clang] Fix the for statement disappearing in AST when an error occurs in the conditional expression of the for statement (#65381)
- Fix up some yaml errors after 5f16a3a489bd1730db49f635604bc1d833abed15
- [PseudoProbe] Use probe id as the base dwarf discriminator for callsites (#65685)
- [nfc][OpenMPIRBuilder] Formatting OMPIRBuilder.cpp and OMPIRBuilder.h (#65772)
- workflows: Fix typo in pr-subscriber
- [ARM] Correct Cortex-M55 scheduling info for VMINV/VMAXV
- new-prs-labeler: Remove leading slashes from paths
- Revert "[NVPTX] Make i16x2 a native type and add supported vec instructions (#65432)"
- [mlir][spirv] Fix coop matrix load (#65712)
- [libc++][AIX] Remove hardcode fail from format test
- workflows/pr-subscriber: Limit action to llvm/llvm-project repo
- [mlir][Interfaces] ValueBoundsOpInterface: Handle all destination style ops (#65736)
- [Clang][LoongArch] Generate _mcount instead of mcount (#65657)
- [mlir][spirv] Fix coop matrix store (#65709)
- [flang][openmp] Semantic check for OpenMPExecutableAllocate
- [libc] Build the `libc` objects using a generic AMDGPU ABI (#65782)
- [mlir][Interfaces] Fix shared build. NFC
- [libc++][hardening][NFC] Fix the 17 release notes to remove mentions of hardening
- [libc][docs] Fix docs/gpu/support.rst. (#65790)
- workflows: Reconfigure pr-subscriber action so that it can access secrets
- [unittests] Add missing includes (#65681)
- [Attributor] Look through indirect calls (#65197)
- [libc][NFC] Cleanup the GPU file I/O utility header (#65680)
- [Attributor] Only manifest pointer operand for `StoreInst` in `AAAddressSpace` (#65708)
- [NFC] Update coroutine intrinsics documentation and few remaining tests to opaque pointers (#65698)
- Reapply "[Attributor] Enable AAAddressSpace for OpenMPOpt (#65544)""
- Aligning the section about pull-request with the `gh` tools with the section using the web UI (#65795)
- Revert "Reapply "[Attributor] Enable AAAddressSpace for OpenMPOpt (#65544)"""
- [AMDGPU] Incorrect error message regarding SCC modifier (#65660)
- [libc] Generate configure.rst from the JSON config information. (#65791)
- [mlir] Fix c++20 compat warning. NFC. (#65801)
- [RISCV] Add a negative case for strided load matching
- [SLP]Try to vectorize scalars, being vectorized already, but does not need to be scheduled.
- [NVPTX] Make i16x2 a native type and add supported vec instructions (#65799)
- [llvm-exegesis] Fix in SubprocessMemoryTest after commit adb01dea6a5
- [mlir][gpu][target] Use promises to verify TargetAttrs IR correctness. (#65787)
- [clang-format] Improve line-breaking in LambdaBodyIndentation: OuterScope
- [flang][openacc] Add check for acc cache directive (#65807)
- [JITLink][PowerPC] Port rtdyld's tests to jitlink. NFC. (#65739)
- [clang][test] Don't write temporary (actually, unused) outputs into CWD
- Fix buildbot failure https://lab.llvm.org/buildbot/#/builders/38/builds/14427.
- [NFC][sanitizer] Add a few missed RTSanitizerCommonSymbolizerInternal
- [clang-format] Fix a serious bug in git-clang-format (#65723)
- [mlir] Make `StringRefParameter` roundtrippable (#65813)
- new-prs-labeler: Convert from gitignore syntax to minimatch
- [BOLT] Always match stale entry blocks
- XFAIL dexter tests that broke greendragon.
- Clariy the GitHub PR doc that a "single commit" is only the expected initial state
- [clang][lex] Use preferred path separator in includer-relative lookup
- [clang] Make test separator-agnostic
- [sanitizer] Add CMake flag to build with internal symbolizer
- [NFC][ValueTracking] Simplify check in llvm::isBitwiseValue() (#65817)
- [GlobPattern][Docs] End list with "." (#65397)
- [mlir][test][gpu] Migrate ROCM tests to the TargetAttr compilation workflow (#65805)
- [Driver] Fixes for header / library paths on Haiku
- Reapply "[clang] NFCI: Adopt `SourceManager::getFileEntryRefForID()`"
- [NFC][OpenMP] clang-format `openmp/libomptarget/src/interface.cpp`
- [clang] NFCI: Use `FileEntryRef` in `VerifyDiagnosticConsumer`
- [libc][NFC] Make add_header_library rule support COMPILE_OPTIONS. (#65821)
- Fixes for Haiku tests on Win32
- [llvm-readobj][test] Test -s with an invalid section name
- [clang] NFCI: Use `FileEntryRef` in `checkMSVCHeaderSearch()`
- workflows: Split new-prs into two workflows
- [clang][Interp] Fix SourceLocExpr used in CXXDefaultInitExprs
- [SROA] Limit the number of allowed slices when trying to split allocas
- [OpenMPOpt][NFC] Precommit test
- Improve the pull-request subcription notification format by adding the description and files statistics (#65828)
- Fix Dexter test after 37a20cc68f54. Adding the XFAIL line caused the line references to be off.
- [clang][CodeGen] Switch declaration of vtable information to be [0 x ptr] (#65596)
- [llvm-exegesis] Use range-based for loops (NFC)
- [VP] IR expansion for inttoptr/ptrtoint
- [BOLT][RISCV] Implement R_RISCV_PCREL_LO12_S (#65204)
- [GlobalISel] Add constant folding support for G_FMA/G_FMAD in the combiner. (#65659)
- [RISCV] Remove debug location to spill/reload instructions
- [clang][Interp][NFC] Remove unused Integral::from() overload
- [clang][Interp][NFC] Remove unused Boolean::from() overload
- [clang][Interp][NFC] Tiny indentation fix
- [clang][Interp][NFC] Use delegate() vor ParenExprs
- [MLIR][Tensor] Add Destination style RewritePattern for DimOp. (#65780)
- [ELF][RISCV] Implement --emit-relocs with relaxation
- [mlir][test][gpu] Migrate CUDA tests to the TargetAttr compilation workflow (#65768)
- Revert "[mlir][test][gpu] Migrate CUDA tests to the TargetAttr compilation workflow (#65768) (#65848)
- [Sparc] Replace some CAS instructions with InstAlias (#65588)
- [libc++][nfc] Fixes emacs magic marker.
- Reland [mlir][test][gpu] Migrate CUDA tests to the TargetAttr compilation workflow (llvm#65768)
- [clang] NFCI: Use `FileEntryRef` in `diagnoseFrameworkInclude()`
- [clang] NFCI: Use `FileEntryRef` in `ModuleMapParser`
- [clang] NFCI: Use `FileEntryRef` in `ModuleMap`
- [clang][tools] Use `FileEntryRef` in `include_cleaner::Header`
- [GlobalOpt] Handle DL.getAllocaAddrSpace() != 0 (#65847)
- [llvm] Add CODE_OF_CONDUCT.md (#65816)
- [libc] Implement stdio writing functions for the GPU port (#65809)
- [clang][tools] Remove path separator assumption
- [jitlink][rtdyld][checker] Re-apply 4b17c81d5a5 with fixes.
- clang: Add __builtin_exp10* and use new llvm.exp10 intrinsic
- [clang-format] BreakBeforeNoexceptSpecifier option added (#65808)
- Switch MLIR to use the internal LIT shell by default  (#65415)
- [NFC][sanitizer] Return nullptr instead of 0
- [NFC][sanitizer] Clarify nullability of Symbolizer::Demangle result
- [NFC][sanitizer] Return nullptr from PlatformDemangle
- Fix MLIR integration test that requires ARM SVE to reproduce
- [Clang][OpenMP] Emit unroll directive w/o captured stmt (#65862)
- [OpenMP][VE] Support OpenMP runtime on VE
- [mlir][gpu] Add a symbol table field to TargetOptions and adjust GpuModuleToBinary (#65797)
- [OpenMP][test][VE] Change to use VE_LD_LIBRARY_PATH for VE (#65869)
- [lldb] Reinstate default constructor for SBCommandInterpreter
- [clang] NFCI: Use `FileEntryRef` in `suggestPathToFileForDiagnostics()`
- [clang] NFCI: Use `FileEntryRef` in `Sarif.cpp`
- [Haiku] Don't assume clang was build with libstdc++ as default (#65871)
- [clang] NFCI: Use `FileEntryRef` in `LookupSubframeworkHeader()`
- [clang] NFCI: Use `FileEntryRef` in `ModuleManager`
- [clang] NFCI: Use `FileEntryRef` in `GlobalModuleIndex`
- [clang] NFCI: Use `FileEntryRef` in `ModuleMapCallbacks`
- [clang] NFCI: Use `FileEntryRef` in `CreateHeaderMap()`
- [ELF] Priorize the last catch-all pattern in version scripts
- AMDGPU: Implement llvm.get.fpmode
- [clangd] Show parameter hints for operator()
- [Driver] Replace usage of -Bshareable linker flag with -shared (#65842)
- Fix logic to detect cl::option equality. (#65754)
- [AArch64][GlobalISel] Fix || / && precedence warning in assert. NFC
- [AArch64] Add GlobalISel coverage for BIT/BIF/BSL. NFC
- [clang-tidy] Add IgnoreTypes option to modernize-use-nullptr
- [clang-tidy] Fix DanglingHandleCheck to work in C++17 and later mode
- [Fuchsia] Disable libcxx timezone database (#65870)
- [Demangle] demangle builtin type transformations
- Revert "[Demangle] demangle builtin type transformations"
- [clang] NFCI: Use `FileEntryRef` in `FileRemapper` (1/2)
- [clang] NFCI: Use `FileEntryRef` in `FileRemapper` (2/2)
- [InstCombine] Use m_c_And/m_c_Or instead of duplicate logic. NFC.
- [X86] matchIndexRecursively - don't peek through multiuse sext(add_nsw(x,c)) (PR65895)
- [clang-tidy] Exclude bitwise operators in bugprone-non-zero-enum-to-bool-conversion (#65498)
- [clang] NFCI: Use `FileEntryRef` in `ASTReader`
- [clang] NFCI: Use `FileEntryRef` in `ASTWriter`
- [libc++] Use inline instead of static in headers.
- [AIX][tests] Temporarily disable more Clang/Index tests
- [TwoAddressInstruction] Use member functions instead of static helpers
- [InstCombine] Add test cases from PR62898. NFC.
- [InstCombine] Generalize foldICmpWithMinMax
- [AArch64] ushl_sat.ll - regenerate checks. NFC.
- [ConstraintElim] Add missing checks in test_overflow_in_negate_constraint (#65841)
- [Driver] Remove remnant PowerPC Darwin code
- [clang-format][doc] Fix a '' (in c669541c969c) that meant to be ``
- [Clang][AArch64] Define x86_64 macros for ARM64EC targets (#65420)
- [Driver] Properly report error for unsupported powerpc darwin/macos triples
- Fix some typos in comments: evalute -> evaluate (NFC) (#65906)
- [X86] FastISel -fno-pic: emit R_386_PC32 when calling an intrinsic
- [M68k] Swap operands of atomic_store after D123143
- Update CONTRIBUTING.md to remove the not about not accepting PR
- [NFC][cmake] Sort COMPILER_RT_TEST_SUITES
- [test][sanitizer] Reduce output noise in test
- [symbolizer] Check if dependecy exist
- [mlir][tensor] Check the EmptyOp's dynamicSize to be non-negative (#65577)
- [X86] Remove _REV instructions from the EVEX2VEX tables (#65752)
- [OpenMPOpt] Allow indirect calls in AAKernelInfoCallSite (#65836)
- [libomptarget][NFC]Rename targetDataMapper to targetDat in interface.cpp (#65915)
- [VP] more functional Intrinsic to definitions
- [clang][deps] NFCI: Use `FileEntryRef` in `ModuleDepCollectorPP`
- [clang] NFCI: Use `FileEntryRef` in 'clang-tools-extra'
- [AMDGPU] SILowerI1Copies: clear kill flags on COPY (#65883)
- [llvm-objdump] --adjust-vma adjust symbol table
- [AMDGPU] SILowerControlFlow: fix preservation of LiveIntervals
- [X86][EVEX512] Restrict attaching EVEX512 for default CPU only, NFCI (#65920)
- [clang][Diagnostics] Add source range to uninitialized diagnostics (#65896)
- [RISCV] Disable zcmp push/pop for variadic functions. (#65302)
- [include-cleaner] Always keep non-self-contained files (#65499)
- [AMDGPU][NFCI] Refactor BUFInstructions.td (#65746)
- [Clang][RISCV] Use Decl for checkRVVTypeSupport (#65778)
- [lldb][AArch64] Add type marker to ReadAll/WriteALLRegisterValues data
- [mlir][complex] Support fastmath in the binary op conversion. (#65702)
- [clangd] Delete deprecated enumerateTweaks endpoint
- [clang-format][NFC] Minor cleanup of token annotator and test cases
- [Driver] Remove duplicate -e on DragonFly (#65867)
- [clang][AArch64] Add --print-supported-extensions support (#65466)
- [ELF][test] Make tests less sensitive to addresses/number of sections
- [NFC] test commit
- [clang][AArch64] Fix supported extensions test case
- [clang][dataflow][NFC] Delete unused function. (#65602)
- [clangd] Rollforward include-cleaner library usage in symbol collector.
- [clangd] allow extracting to variable for lambda expressions
- [AArch64] Remove copy instruction between uaddlv and urshr
- [clangd] Forward --target to system include extraction (#65824)
- [mlir][Vector] Make `vector.contract` work with scalable vectors (#65724)
- [PHIElimination] Handle subranges in LiveInterval updates
- [SPIR-V] Add SPIR-V logical triple.
- [clangd] Fix buildbot breakages from stemming from 64366d4935d3c56ce5906a321edb2e91d4f886bc
- [mlir][llvm] Return failure from type converter for n-D scalable vectors (#65450)
- [SPIRV-V] Add SPIR-V logical triple to llc
- [X86] lea-2.ll - add test showing failure to fold shl(zext(or(x,c1)),c2) 'addlike' into LEA instruction
- [X86] promoteExtBeforeAdd - add support for or/xor 'addlike' patterns
- [Flang][OpenMP] Minor changes in reduction to work with HLFIR (#65775)
- [libc] Add missing add_lvalue_reference_t (#65940)
- [libc][bazel] Add CPP tests (#65941)
- [clang][Interp] Implement __builtin_offsetof
- [OpenMP][OMPT] Fix device identifier collision during callbacks (#65595)
- [clang][Interp] Check floating results for NaNs
- [mlir][vector] Extend mask calculation for vector.contract (#65733)
- [NFC][Analysis] Run update_analyze_test_checks.py on Analysis/CostModel/AArch64/sve-ldst.ll
- [Flang][OpenMP][Sema] Support propagation of REQUIRES information across program units
- [NFC][RemoveDIs] Prefer iterator-insertion over instructions
- [flang] Improve length information in character transformational (#65771)
- Revert rGa8cef6b58e2d41f04ed4fa63c3f628eac1a28925 "[X86] promoteExtBeforeAdd - add support for or/xor 'addlike' patterns"
- [lldb] Don't tab complete stop-hook delete beyond 1st argument
- updated buildkite pipeline generation (#65574)
- [mlir][vector][NFC] `isDisjointTransferIndices`: Use `getConstantIntValue` (#65931)
- [libc++][ranges][NFC] Status page: Adds `enumerate_view` patch
- Add missing vrnd intrinsics
- Revert "[Flang][OpenMP][Sema] Support propagation of REQUIRES information across program units"
- [analyzer] CStringChecker should check the first byte of the destination of strcpy, strncpy
- [analyzer] CStringChecker buffer access checks should check the first bytes
- [MLIR] Make SM_90 integration tests use `TargetAttr` (#65926)
- [Convergence] allow non-convergent ops before entry and loop intrinsics (#65939)
- [MLIR][PDL] Add Bytecode support for negated native constraints
- [mlir][Interfaces][NFC] DestinationStyleOpInterface: Improve documentation (#65927)
- Fixup "[analyzer] CStringChecker buffer access checks should check the first bytes"
- [VP] IR expansion for abs/smax/smin/umax/umin
- [VP] IR expansion for zext/sext/trunc/fptosi/fptosi/sitofp/uitofp/fptrunc/fpext
- [OpenMP][DeviceRTL][AMDGPU] Add missing libomptarget build targets (#65964)
- Fix warning in MSVC
- [NFC][Clang][RISCV] Fix typos of riscv-v-spec doc in riscv_vector.td (#65944)
- [DebugInfo] Parse StrOffsets section if needed
- [Flang][OpenMP][Sema] Support propagation of REQUIRES information across program units
- [NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
- [libc][NFC] Fix missing header in CMakelists.txt (#65960)
- [libc] Add type_traits tests (#65956)
- Remove extra switch from  0323938d
- [X86] matchIndexRecursively - add  zext(add/addlike(x,c)) -> index: zext(x), disp + zext(c) pattern handling
- [Driver] Do not generate error about unsupported target specific options when there is no compiler jobs
- [mlir][GPU] Handle LLVM pointer attributes on memref arguments.
- [RISCV] Add extract_subvector tests for a statically-known VLEN. NFC (#65389)
- [clang][VarDecl] Reset un-evaluated constant for all C++ modes (#65818)
- [RISCV] Refactor extract_subvector lowering slightly. NFC  (#65391)
- [lldb] Correctly invalidate unloaded image tokens (#65945)
- [lld][MachO] Add option to suppress mismatch profile errors (#65551)
- [mlir][spirv] Support `spirv.coopmatrix` type (de-)serialization (#65831)
- [GlobPattern][docs] Fix poorly rendered docs
- [RISCV] Shrink vslidedown when lowering fixed extract_subvector (#65598)
- [InlineAsm] refactor InlineAsm class NFC (#65649)
- Fold or-phi test
- [libcxx] Fix include directory order (#65859)
- [lldb][Tests] Reformat API tests with black
- [mlir][VectorOps] Don't drop scalable dims when lowering transfer_reads/writes (in VectorToLLVM)
- [NFC][RemoveDIs] Provide an iterator-taking split-block method
- ValueTracking: Add baseline tests for fcmp with non-0/inf constants
- [Driver][test] Don't check the version in the triple
- [include-cleaner] Fix handling of enums in presence of qualifiers (#65952)
- [lldb] Improve completion tests (#65973)
- [AMDGPU] Autogenerate min.ll/max.ll tests. NFC. (#65786)
- [NFC][AsmPrinter] Refactor DbgVariable as a std::variant
- [NFC][AsmPrinter] Remove dead multi-MMI handling from DwarfFile::addScopeVariable
- [NFC][AsmPrinter] Expose std::variant-ness of DbgVariable
- [NFC][AsmPrinter] Use std::visit in constructVariableDIEImpl
- [ADT] Remove any_isa (NFC) (#65636)
- Revert "[lldb] Improve completion tests (#65973)"
- [Fuchsia] Re-enable libcxx timezone database (#65981)
- Avoid running optimization passes in frontend test
- ProfDataUtils: Add extractFromBranchWeightMD function; NFC
- LoopRotate: Add code to update branch weights
- [MLIR][Linalg] Improve documentation in `LinalgInterfaces.td` (NFC)
- [AMDGPU] Global ISel for packed fp32 instructions (#65803)
- [RISCV] Lower fixed vectors extract_vector_elt through stack at high LMUL
- [ELF] Respect orders of symbol assignments and DEFINED (#65866)
- Re-apply 75c487602a "[ORC] Add a MachOBuilder utility, use it to..." with fixes.
- [DebugInfo] Use getStableDebugLoc to pick IRBuilder DebugLocs
- [test][sanitizer] Check LINKER_IS_LLD  to detect LLD
- [libc] Manually set the AMDGPU code object version (#65986)
- [llvm-readelf] Add --extra-sym-info (#65580)
- Revert "[PHIElimination] Handle subranges in LiveInterval updates"
- [libc] Move long double table option to new config

--
Full diff: https://github.com/llvm/llvm-project/pull/66151.diff

4 Files Affected:

- (modified) libc/config/baremetal/config.json (+3) 
- (modified) libc/config/config.json (+4) 
- (modified) libc/src/stdio/CMakeLists.txt (+3) 
- (modified) libc/src/stdio/printf_core/CMakeLists.txt (-1) 


<pre>
diff --git a/libc/config/baremetal/config.json b/libc/config/baremetal/config.json
index a65eaa8911e6c44..53f232e31cc8a46 100644
--- a/libc/config/baremetal/config.json
+++ b/libc/config/baremetal/config.json
@@ -8,6 +8,9 @@
     },
     "LIBC_CONF_PRINTF_DISABLE_WRITE_INT": {
       "value": true
+    },
+    "LIBC_CONF_PRINTF_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE": {
+      "value": false
     }
   }
 }
diff --git a/libc/config/config.json b/libc/config/config.json
index cd68b81028bff7f..134cf06a73b3ab5 100644
--- a/libc/config/config.json
+++ b/libc/config/config.json
@@ -11,6 +11,10 @@
     "LIBC_CONF_PRINTF_DISABLE_WRITE_INT": {
       "value": false,
       "doc": "Disable handling of %n in printf format string."
+    },
+    "LIBC_CONF_PRINTF_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE": {
+      "value": true,
+      "doc": "Use large table for better printf long double performance."
     }
   }
 }
diff --git a/libc/src/stdio/CMakeLists.txt b/libc/src/stdio/CMakeLists.txt
index 740ec106da2e4d7..de28b5c02071bf7 100644
--- a/libc/src/stdio/CMakeLists.txt
+++ b/libc/src/stdio/CMakeLists.txt
@@ -363,6 +363,9 @@ endif()
 if(LIBC_CONF_PRINTF_DISABLE_WRITE_INT)
   list(APPEND printf_copts "-DLIBC_COPT_PRINTF_DISABLE_WRITE_INT")
 endif()
+if(LIBC_CONF_PRINTF_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE)
+  list(APPEND printf_copts "-DLIBC_COPT_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE")
+endif()
 
 if(LLVM_LIBC_FULL_BUILD)
   list(APPEND printf_deps
diff --git a/libc/src/stdio/printf_core/CMakeLists.txt b/libc/src/stdio/printf_core/CMakeLists.txt
index 0b3766b55e8d4b4..7087d28ede66e8b 100644
--- a/libc/src/stdio/printf_core/CMakeLists.txt
+++ b/libc/src/stdio/printf_core/CMakeLists.txt
@@ -92,7 +92,6 @@ add_object_library(
     libc.src.__support.integer_to_string
     libc.src.__support.float_to_string
   COMPILE_OPTIONS
-    -DLIBC_COPT_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE
     ${printf_copts}
 )
 
</pre>
</details>


https://github.com/llvm/llvm-project/pull/66151


More information about the libc-commits mailing list