Skip to content

Commit eae0641

Browse files
committed
Merge remote-tracking branch '1/main' into main
* 1/main: (18166 commits) [Sanitizers][test] XFAIL long double tests on Solaris/sparc [pseudo] Add first and follow set computation in Grammar. [sanitizer_common] Don't try to unmap unaligned memory [sanitizer_common] Fix DenseMapCustomTest.DefaultMinReservedSizeTest on SPARC [llvm-rc]: Find <target>-clang over just clang [RISCV] Select unmasked RVV pseudos in a DAG post-process [OpenMP][Clang] Move partial support of reverse offload to a future version [ELF] --warn-backrefs: suppress warnings for backward references within the archive [llvm] Recognize arm64 as target-aarch64 in lit [docs] Re-generate ClangCommandLineReference.rst [AMDGPU] [NFC] Fix incorrect use of bitwise operator. [HIP] Emit amdgpu_code_object_version module flag [RISCV][NFC] Refactor RISCVISAInfo. [RISCV] Add patterns for vector widening floating-point fused multiply-add instructions [docs] Document -ffinite-math-only, -fhonor-{infinities,infinites,nans} [X86] Implement -fzero-call-used-regs option [cxx_status] Add a couple of Feb 2022 library papers that need compiler support. [gn build] Port 216575e58102 [gn build] (manually) port 216575e5810 [gn build] (manually) port 4a6553f4c2be some more [nfc][mlgo][regalloc] Add the url to a reference pre-trained model [gn build] (manually) port 817d897b57c7 (LIBCXX_ABI_UNSTABLE) [BOLT][DWARF] Remove caching of ranges/abbrevs GlobalISel: Constant fold G_PTR_ADD [LLD] Fix issue in HIP due to unspecified order of evaluation of the function object [MLIR] Temporary workaround for calling the LLD ELF driver as-a-lib Revert "[AArch64] ACLE feature macro for Armv8.8-A MOPS" [libc++] Remove outdated synopsis parts in experimental/functional [memprof] Add LLVM_DEBUG for unused var in RawMemProfReader.cpp. GlobalISel: Constant fold FP bin ops in MIRBuilder GlobalISel: Constant fold integer min/max opcodes [Hexagon] Fix operation actions for v128f16 [mlir][ods] Attribute and type formats: support whitespaces GlobalISel: Add FoldBinOpIntoSelect combine AMDGPU/GlobalISel: Add baseline test for binop fold into select combine [Symbolizer] Add Build ID flag to llvm-symbolizer. [mlir][math] Expand coverage of atan2 expansion [libcxx][test] Disable bad unique_ptr<T[]> to shared_ptr<U[]> conversion test cases [libcxx][test] tests for strengthened `noexcept` are non-portable [sanitizer] Guard the whole ThreadDescriptorSize block with #if !SANITIZER_GO after D119007 [libc++] Prepare string.{access, capacity, cons} tests for constexpr [clang] Document objc_unsafeClaimAutoreleasedReturnValue. [clang][Driver] Use a VersionTuple for darwin linker version checks. [bazel] Port 216575e58102 [libc][Obvious] Fix typo in mkdir and mkdirat implementations. README: Point to the discourse & discord forums Revert "Revert "[ProfileData] Read and symbolize raw memprof profiles."" [test] Remove -fno-experimental-new-pass-manager -O1 from sanitize-address-field-padding.cpp [clang] Properly cache member pointer LLVM types [LV] Move buildScalarSteps out of ILV (NFC). [mlir][ods] NFC fix tblgen crash with empty assembly format [AArch64] ACLE feature macro for Armv8.8-A MOPS [Hexagon] Fix crash with shuffle_vector of v128f16 [Debuginfod][Symbolizer] Cut dependency cycle after 4a6553f4c2be [sanitizer] Use _thread_db_sizeof_pthread to obtain struct pthread size [libc] Replace type punning with bit_cast [BOLT][TEST] Add .so instrumentation test Fix a typo (occured => occurred) [flang][codegen] Keep primitive type for extractvalue and insertvalue [libc++] Remove _LIBCPP_ABI_UNSTABLE [libc++] Fix modules and benchmarks CI builds when incomplete features are disabled [mlir][ods] Optional Attribute or Type Parameters Add case to handle 0-D vectors in FlattenContiguousRowMajorTransferWritePattern and FlattenContiguousRowMajorTransferReadPattern. [clang] [MinGW] Recognize -lcrtdll as a library replacing -lmsvcrt Revert "[Clang] Propagate guaranteed alignment for malloc and others" [gn build] Port 4a6553f4c2be [Debuginfod] [Symbolizer] Break debuginfod out of libLLVM. [clang][ARM] Re-word PACBTI warning. [clang][Fuchsia] Ensure static sanitizer libs are only linked in after the -nostdlib check Allow parameter pack expansions and initializer lists in annotate attribute [libc][NFC] Remove all Linux specific code to respective linux/ directories [SimplifyCFG] 'merge compatible invokes': fully support indirect invokes [SimplifyCFG] 'merge compatible invokes': don't create trivial PHI's with all-identical incoming values [NFC][SimplifyCFG] 'merge compatible invokes': tests for indirect invokes. [AMDGPU] Select VGPR versions of MFMA if possible [mlir][Linalg] NFC: Combine elementwise fusion test passes. [flang] Upstream partial lowering of GET_ENVIRONMENT_VARIABLE intrinsic [X86] Update register RCL/RCR by 1 and immediate scheduling for Intel CPUs [C++2b] Implement multidimentional subscript operator [Attributor] Emit fixed-point remark on function list [Libomptarget] Add header files as a dependency to CMake target [Hexagon] Alter meaning of versionless -mhvx [NFC] Increase initial size of FoldingSets used in ASTContext and CodeGenTypes [MLIR][Presburger] Fix linkage of functions in header [mlir][bazel] Update post 24a1 [mlir][taco] Use sparse_tensor.out to write sparse tensors to files. Revert "[analyzer] Prevent misuses of -analyze-function" [libc++][nfc] Use TEST_SAFE_STATIC. [libc++] Removes cpp17_output_iterator's default constructor. [Support] Don't print stacktrace if DbgHelp.dll hasn't been loaded yet [nfc][mlgo][regalloc] Stop warnings about unused function [MLIR][GPU] Update GPUToROCDL to account for ControlFlow dialect [llvm-profgen] On-demand track optimized-away inlinees for preinliner. [libc++][format[[nfc] Use string_view in tests. [analyzer] Prevent misuses of -analyze-function AMDGPU: Use reserved VGPR for AGPR spills to memory [SCEV] Generalize SCEVEqualsPredicate to any compare [NFC] [Mem2Reg] Check that load type matches alloca type AMDGPU: Reserve v32 if we may need to copy between AGPRs on gfx908 AMDGPU: Regenerate mir test checks to include -NEXT [libc++] Add a Lit configuration for running back-deployment tests [NFC] Refactor llvm-nm symbol comparing and split sorting Summary: 1.added a helper function isSymbolDefined(). 2.Split out sorting code 3.refactor symbol comparing function [SDAG] enable binop identity constant folds for fmul/fdiv [AutoUpgrade] Handle remangling upgrade for ptr.annotation [AArch64][CodeGen] Always use SVE (when enabled) to lower 64-bit vector multiplies [MLIR][Presburger] Support computing volumes via hyperrectangular overapproximation [ValueTracking] Only check for non-undef/poison if already known to be a self-multiply [NFC][clang] Autogenerate checklines in CodeGenCXX/nrvo.cpp [MLIR][Presburger] Simplex::computeIntegerBounds: support unbounded directions by returning Optionals [demangler][NFC] Utility header cleanups [OpenCL] Mark kernel arguments as ABI aligned [AMDGPURewriteOutArguments] Don't use pointer element type [X86] selectLEAAddr - relax heuristic to only require one operand to be a MathWithFlags op (PR46809) Cleanup LLVMDebugInfoCodeView headers [X86] Remove __builtin_ia32_padd/psub saturated intrinsics and use generic __builtin_elementwise_add/sub_sat [AutoUpgrade] Also upgrade intrinsics in invokes [OpenMP] Enable new driver tests for AMDGPU [SDAG] move x86 select-with-identity-constant fold behind a target hook; NFC [SimplifyCFG] 'merge compatible invokes': support normal destination w/ uses [SimplifyCFG] 'merge compatible invokes': support normal destination w/ PHIs but no uses [SimplifyCFG] 'merge compatible invokes': support normal destination w/ no uses, no PHI's [NFC][SimplifyCFG] 'merge compatible invokes': more tests for various edge-cases Revert rG6c174ab2ad0676b295f11f6c3913eff9289fa6b9 "[X86] Remove __builtin_ia32_padd/psub saturated intrinsics and use generic __builtin_elementwise_add/sub_sat" [GlobalISel] Add big endian support in CallLowering [demangler] Improve ->* & .* demangling [X86] Remove __builtin_ia32_padd/psub saturated intrinsics and use generic __builtin_elementwise_add/sub_sat [AArch64TargetTransformInfo] Avoid pointer element type access Fix signed/unsigned comparison warnings on ppc buildbots Add core papers adopted at the february plenary. [AsmPrinter] Avoid pointer element type access Fix signed/unsigned comparison warnings on ppc buildbots [OpenCL] opencl-c.h: remove arg names from arm_dot; NFC Enable inoutset dependency-type in depend clause. [MLIR][Presburger] factor out duplicated function `parsePoly` into a Utils.h [ValueTracking] Add support for X*X self-multiplication [ValueTracking] Replace dyn_cast with dyn_cast_or_null to account for getTerminator returning null Make run-clang-tidy.py print the configured checks correctly [AMDGPU] Regenerate test checks (NFC) [VE] v256.32|64 setcc isel and tests [ADT] Add APInt/MathExtras isShiftedMask variant returning mask offset/length [libc] Optimized version of memmove Attempt to fix sphinx 'Malformed table' warning. [AArch64] Attempt to emitConjunction from brcond [Clang] Add elementwise saturated add/sub builtins [AArch64] FeaturePerfMon Added to CPUs [NVPTXISelLowering] Remove unnecessary context parameter (NFCI) [NVPTXISelLowering] Use byval IndirectType [NVPTXISelLowering] Use getByValSize() [libc] Don't use Clang flags on other compilers [NVPTXAsmPrinter] Use byval type [flang][nfc] Add an assert to guard against `nullptr` dereferencing [libc] Disable rtti/expections [RISCV] Optimize splats of extracted vector elements [NVPTXLowerArgs] Use byval type [OpenMPIRBuilderTest] Remove getPointerElementType() uses (NFC) [libc][NFC] moving template specialization outside class declaration [AArch64] Add some additional tests for conditions of branches. NFC Remove restriction on static dimensions in Shape method [mlir][Affine][Vector] NFC: fix examples in comments [ArgPromotion] Check dereferenceability on argument as well [ArgPromotion] Test dereferenceable annotation on callee (NFC) [Bitstream] Make MaxChunkSize word-size independent [Bitcode] Prevent OOB read for invalid name size [Bitstream] Check for unterminated VBR [Bitcode] Add missing includes in llvm-dis-fuzzer [NFC] Fix comment. [clang-format] Comment unused parameters. NFC. [clang-format] Fix typo. NFC. [mlir] Move constBuidlerCall from to ArrayAttrBase [mlir] ODS: require DefaultValuedAttr to be const-buildable [CSKY] Add CSKYDisassembler.cpp to construct objdump [CSKY] Add CK800 series ProcessorModel and complete related SubtargetFeatures Add missing BUILD dependency to ShapeOps [CodeGen][test] XFAIL CodeGen/Generic/ForceStackAlign.ll on SPARC Platform gdb RSP packet doc fixes based on implementation behavior [lldb][CMake] Fix linking of gdb-remote when LLVM_ENABLE_ZLIB is ON [MachineLICM] Add shouldHoist method to TargetInstrInfo [ORC-RT] Fix missing #include from f9aef477ebc. [ORC][ORC-RT] Rewrite the MachO platform to use allocation actions. [ELF] AArch64ErrataFix: replace std::map with DenseMap. NFC [ELF] Clean up headers. NFC [RISCV] Split f64 undef into two i32 undefs [llvm-jitlink] Don't add process symbols to every JITDylib. [ORC-RT] Make ExecutorAddr hashable. [BOLT][CMAKE][NFC] Update runtime/CMakeLists.txt [BOLT] Add ld.lld substitution [RISCV] Pre-commit test for D118222 [ORC-RT] Add more string_view operations and tests. [ORC-RT] Fix typos in testcase. [test][llvm-objcopy/mac] Fix invalid strip tests [test][llvm-objcopy/mac] Move test to new file [C++20] [Modules] Don't create multiple global module fragment [C++20] [Coroutines] Warning for always_inline coroutine [mlir] Finish removing FunctionPass [mlir] Update uses of `parser`/`printer` ODS op field to `hasCustomAssemblyFormat` [mlir] Update Toy operations to use the `hasCustomAssemblyFormat` field [mlir][NFC] Remove deprecated/old build/fold/parser utilities from OpDefinition [mlir][NFC] Remove a few op builders that simply swap parameter order [mlir:ODS] Deprecate Op parser/printer fields in favor of a new hasCustomAssemblyFormat field [clang] Fix some clang->llvm type cache invalidation issues [AMDGPU] [NFC] refactor the AMDGPU attributor [AMDGPU] Allow hoisting of some VALU compare instructions [Attributor][FIX] Do not use assumed information for UB detection [MemoryBuiltins][FIX] Adjust index type size properly wrt. AS casts [M68k][GlobalISel] Implement lowerCall based on M68k calling convention [libc] Return a float NaN for log1pf instead of double NaN. [lld-macho] Include address offsets in error messages [SystemZ] Remove a superfluous semicolon to fix a gcc warning. NFC [AMDGPU][NFC] AMDGPUUsage.rst: fix wording. [GlobalISel][Legalizer] Support reducing load/store width in big endian order M68K: Pre-commit test of D116931 [clang][driver] update the darwin driver to point to correct macho_embedded path [BOLT] Fix runtime osx cross-compile build [libc++][CI] Put runs into groups [BOLT] Add aarch64 support for peephole passes [RISCV] Use splat_vector instead of SplatPat in widening FP instruction patterns. NFCI [VP] llvm.vp.fma intrinsic and LangRef [gn build] (manually) port 157bbe6aea22e [libc++] Mark some members private in experimental/functional Revert "[mlir][Linalg] NFC: Combine elementwise fusion test passes." [libc++] Remove the ability to use the std::nullptr_t emulation in C++03 mode [mlir][Linalg] NFC: Combine elementwise fusion test passes. [lldb] Call __lldb_init_module from __init__ [llvm-libtool-darwin] Add -warnings_as_errors [SDAG] try to fold one-demanded-bit-of-multiply [libcxx][test][NFC] Add tests for backward iteration over associative containers [Libomptarget] Replace Value RAII with default value Fix my email address in CODE_OWNERS.TXT [x86] avoid compile-time warning for parens; NFC [mlir][spirv] Fix verification of nested array constants [Bitstream] Temporarily disable UBSan for invalid bitcode tests. This fixes failing sanitizer buildbots. [libc] Fix mixed-sign comparison warnings and an out-of-bound access in high_precision_decimal.h [libc][Obvious] Suppress unused-variable warnings from syscall_unittest. [libc] Implement log1pf correctly rounded to all rounding modes. [HWASan] Use hwasan_memalign for aligned new. Fix address space for function pointers with qualifier [SDAG] SimplifyDemandedBits - generalize fold for 2 LSB of X*X [AArch64] add tests for demanded bits of multiply; NFC [lldb] Print message after loading 'crashlog' command Use functions with prototypes when appropriate; NFC [Clang][Docs] Fix some typos in offloading design documentation Cleanup LLVMBitcode headers [OpenMP] Use executable path when searching for lld [lldb] Fix Lua/watchpoint_callback.test on Apple Silicon [libc++][CI] Reorder CI runs [Bazel] Port e8bff9ae54a55b4dbfeb6ba55f723abbd81bf494 (move LLVM_ENABLE_ZLIB) [LoopVectorizer] Don't perform interleaving of predicated scalar loops [MLIR][Presburger] Add support for piece-wise multi-affine functions [AMDGPU] Fix debug values in scheduler not placed correctly when reverting [BOLT] Refactor heatmap to be standalone tool [libc++] Disable -Wattributes in GCC [NFC] use Range based any_of for more concise code. [ELF] Move Symbol::needsTlsLd to config->needsTlsLd [LV] Adjust accesses in test to ensure full RT checks are generated. [libc++][docs] Change some words to use reST inline literals Revert "[ELF] Move Symbol::needsTlsLd to config->needsTlsLd. NFC" [LV] Use IRBuilderBase in VPlan.h, remove IRBuilder.h include (NFC). Revert "Add llgs category to all tests in TestLldbGdbServer that attach to the process." [lldb] Skip part of TestGdbRemoteMemoryAllocation.py on Apple Silicon [mlir][SCF] Further simplify affine maps during `for-loop-canonicalization` [libunwind] Define _Unwind_Backtrace for powerpc, sparc [lldb] Fix a few lldb-server tests on Apple Silicon [gn build] Port D119058 [clang] Cache OpenCL types Fix lld standalone build [InstCombine] generalize 2 LSB of demanded bits for X*X Add llgs category to all tests in TestLldbGdbServer that attach to the process. Reland "[clangd] Properly compute framework-style include spelling" [demangler] Stricter NestedName parsing [lldb] Update outdated comment in TestDyldTrieSymbols.py [MatrixBuilder] Require explicit element type in CreateColumnMajorLoad() Revert "Remove -Wweak-template-vtables" [mlir] Remove MatrixBuilder template argument [demangler] Fix unresolvedname demangling [demangler] Remove StdQualifiedName [ARM] Undeprecate complex IT blocks [MatrixBuilder] Remove unnecessary IRBuilder template (NFC) Add LLVM Embedded Toolchains call to the table of sync ups. [x86] avoid false dependency stall on 'sbb' with same source reg [InstCombine] add test for demanded 2 low bits of X*X; NFC AMDGPU: Fix clobbering SCC when expanding large offset spill pseudos [AArch64][NEON][SVE] Lower FCOPYSIGN using AArch64ISD::BSP Use functions with prototypes when appropriate; NFC [clang-format] Fix DefSeparator empty line issues Reformat CastExpr unittest suite; NFC [lldb/Platform] s/m_name/m_hostname [clang-tidy] Fixed a compile warning (NFC). [InstCombine] SimplifyDemandedBits - mul(x,x) is odd iff x is odd [PPCISelLowering] Avoid use of getPointerElementType() [test] Use -passes=instcombine instead of -instcombine in lots of tests. NFC [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC [OMPIRBuilder] Avoid use of getPointerElementType() [LV] Remove `LoopVectorizationCostModel::useEmulatedMaskMemRefHack()` [clang][Lexer] Fix tests after ff77071a4d67 [X86][SSE] Add some initial PAVGB/PAVGW tests [LV] Modernize some runtime check tests a bit. [gn build] Port c63522e6ba77 [clang-tidy] Add new check 'shared-ptr-array-mismatch'. [DebugInfo][test] XFAIL DebugInfo/Generic/missing-abstract-variable.ll on SPARC [Bitcode] Replace assertion with check [Bitcode] Add missing test file [Bitcode] Handle invalid data layout gracefully [flang] Handle character constant for error code in STOP stmt [flang] Add lowering for ASCII character constant [Bitcode] Guard against out of bounds value reference [Bitstream] Check that there is enough space for blob [Bitcode] Don't assert on invalid attribute group record [Bitstream] Reject implausibly large reservations [flang] Remove unused converter for now [OpenCL] opencl-c.h: make attribute order consistent; NFC [OpenMP] kmp_atomic_float10_max_min.c test should only be executed on x86 platform [TSan] Handle FreeBSD specific indirection of libpthread functions [DAG] visitINSERT_VECTOR_ELT - break if-else chain as they both return (style). NFC. [X86] combineShiftRightArithmetic - break if-else chain as they all return (style). NFC. [GlobalISel] Move getOpcode() calls inside assert() to avoid (void)s. NFC. [CSKY] Add inline asm constraints and related codegen support [X86] Add fp80 copysign test coverage [SLPVectorizer] Fix "unused variable" build warning [Bitcode] Handle invalid abbrev number error more gracefully [Bitcode] Add fuzzer for bitcode reading [Driver][OpenBSD] -r: imply -nostdlib like GCC [SYCL] Disallow explicit casts between mismatching address spaces [GlobalIsel] Fix another "unused variable" warning Fix the warning after D118805 [flang] Add test for quiet with local variable in STOP stmt [flang] Basic local variable lowering [X86] Add test cases for fmul/fdiv with select. [NFC][Analyzer] Use range based for loop. [JITLink] Fix the incorrect relocation behavior for R_RISCV_BRANCH [llvm] Use = default (NFC) [NFC] Precommit test case for PR53357 [DAGCombiner][AArch64] Enhance to support for scalar CSINC [X86] Add pre-commit test for bit test optimization. NFC [mlir][bazel] Update post ControlFlow dialect split [IR] Use default member initialization in GlobalValue (NFC) [Transforms] Use default member initialization in LibCallSimplifier (NFC) [Transforms] Use default member initialization in LoopVersioning (NFC) [mlir] Use SmallBitVector instead of SmallDenseSet for AffineMap::compressSymbols [mlir] Fix GpuToLLVM conversion pass after ControlFlow operations were split from Standard [mlir] Fixup python bindings after splitting cf ops from std. [mlir] Split out a new ControlFlow dialect from Standard [mlir] Add canonicalizer to remove redundant shape.cstr_broadcastable ops [LoopInterchange] Support loop interchange with floating point reductions Remove dead forward declaration (NFC) [KnownBits] Add support for X*X self-multiplication (update) [InstCombine] Add mul(x,x) tests showing miscompile [DAGCombiner][RISCV] Allow rotates by non-constant to be matched for i32 on riscv64 with Zbb. [llvm] Fix header guards (NFC) [Breakpoint] Remove redundant member initialization (NFC) [CodeGen] Use = default (NFC) [Driver] Remove redundant string initialization (NFC) [lld-macho] Add -pagezero_size [DAGCombiner] Fold SSHLSAT/USHLSAT to SHL when no saturation will occur Pre-commit test cases for DAG combine folds of SSHLSAT/USHLSAT -> SHL Revert rG7275de7fb2f087871611d037d1b529b226dd0521 "[AArch64] translateLocChar - silence dead code warning" [clang][CodeGen] Add _BitInt test coverage to builtins-elementwise-math.c Fix Wdocumentation unknown parameter warning [LV] Use VPReplicateRecipe::isUniform instead isUniformAfterVec (NFCI). [AArch64] translateLocChar - silence dead code warning [AArch64] LowerVectorSRA_SRL_SHL - silence dead code warning [Support] Use llvm_unreachable instead of LLVM_BUILTIN_UNREACHABLE internal define [ARM] Mark i64 and f64 shuffles as Custom for MVE [ARM] Add extra vabd, vhadd and vmulh tests. NFC [X86] Fold ZERO_EXTEND_VECTOR_INREG(BUILD_VECTOR(X,Y,?,?)) -> BUILD_VECTOR(X,0,Y,0) [ELF] Fix crash when an input is incompatible with a lazy object file [mlir] Do not use an empty source file when building aggregate libraries. [SampleFDO] Enable FSAFDO loading passes if --enable-fs-discriminator is enabled [Transforms] Use default member initialization in SCEVFindUnsafe (NFC) [Transforms] Use default member initialization in AAIsDeadCallSiteReturned (NFC) [Transforms] Use default member initialization in TruncInstCombine (NFC) [Transforms] Use default member initialization in MaskOps (NFC) [Transforms] Use default member initialization in EscapeEnumerator (NFC) [IR] Use default member initialization in PMDataManager (NFC) [RISCV] Add signext test for llvm.abs.i32 for rv64 Zbb. [ELF] SharedFile::parse: move verdefIndex assignment outside of ctor. NFC AMDGPU: Don't clobber source register for V_SET_INACTIVE_* AMDGPU: add test to show wwm register overwrite issue [clang-format][docs] Fix incorrect 'clang-format 14' option markers [ELF] Symbol::replace: use the old nameData/nameSize. NFC fix module build failure fix module build failure fix module build failure [Support] Use default member initialization in ScopedPrinter (NFC) [IR] Use default member initialization in GlobalObject (NFC) [ADT] Use default member initialization in OptionalStorage (NFC) [Transforms] Use default member initialization in SimplifyIndvar (NFC) [ADT] Use default member initialization in DebugEpochBase (NFC) [MC] Use default member initialization in WasmCustomSection (NFC) [SLP] Skip a DenseSet<unsigned> -> bit vector conversion. NFCI. [ELF] Don't access other eSym members it st_shndx == SHN_UNDEF. NFC [ELF] De-template reportUndefinedSymbols. NFC Revert "Disable TestLldbGdbServer on Dwarf2 and clang versions below 14" Revert "Fixed typos in TestLldbGdbServer.py" [ELF] Move Symbol::needsTlsLd to config->needsTlsLd. NFC Simplify mask creation with llvm::seq. NFCI. [HIPSPV] Fix literals are mapped to Generic address space [ELF] Reorder Symbol members to improve access locality. NFC [libunwind] [sparc] Add SPARCv9 support [libunwind] Attempt to fix broken sphinx doc link Revert "[RISCV] Fold (sext_inreg (fmv_x_anyexth X), i16) -> (fmv_x_signexth X)." [RISCV] Add more tests for rotate idioms. Add more RUN lines. NFC [RISCV] Fold (sext_inreg (fmv_x_anyexth X), i16) -> (fmv_x_signexth X). [ELF] Merge canInline into scriptDefined [llvm-remark-size-diff] Don't use enum name as auto variable name [ELF] Simplify shouldKeepInSymtab after Symbol::used is false by default. NFC [ELF] Simplify includeInSymtab. NFC [ELF] Refactor how Symbol::used is set. NFC [X86] Add some better common check-prefixes to slow-pmulld.ll [ELF] Refactor how exportDynamic is set. NFC [ELF] --wrap: don't copy exportDynamic [lldb] Use mangled symbol name to look for __asan::AsanDie() [PowerPC] Fix SSE translation on FreeBSD [InstCombine] Add PR34063 test coverage [InstCombine] SimplifyDemandedBits - mul(x,x) - if only demand bit[1] then fold to zero [libc++] Add Unstable ABI CI run [DAGCombiner] Fold vecreduce_or/and if operand is insert_subvector. [ConstraintElimination] Add test with trivially false condition in and. [MLIR][Presburger] MaybeLocalRepr: add explicit bool() for convenience [clang] added allocsize attribute to allocation functions [MLIR][Presburger][NFC] Use getters for IntegerPolyhedron members [AIX][PowerPC][PGO] Generate .ref for some PGO sections [libc++] __config cleanup; _LIBCPP_ABI_UNSTABLE should set _LIBCPP_ABI_VERSION [clang] added alloc allign attr to memalign [ELF] Allow STV_PROTECTED shared definition to set exportDynamic Increase memory buffer for scanning objc classes on darwin systems [RISCV] Remove a ComputeNumSignBits call from an isel special case. [MLIR][Presburger][NFC] Fix clang-tidy warnings github: Fix automated PR creation for backports [NFC] Remove unnecessary #includes Don't assume that a new cleanup was added to InnermostEHScope. [CSSPGO] Turn on ext-tsp by default for CSSPGO. [Driver] Default to -fno-math-errno for musl [OpenMP] Add search path for llvm-strip [X86] Introduce more common modern tunings into `generic` [ELF] Avoid wrapping unreferenced lazy symbols [test] Remove unnecessary require<> in LoopAccessAnalysis tests [BOLT] Add nfc-check-setup script [flang] Debugging of ACCESS='STREAM' I/O (take 2) [BOLT-UnitTests] Fix shared libraries build [gn build] Port 679f8a885b65 [OpenMP] Change amdgcn to amdgpu in device library handling [Debuginfod][test] Fix debuginfod.test to use %python instead of python after D112759 [Debuginfod] Fix curl_easy_init in -DLLVM_ENABLE_ASSERTIONS=off build after D112753 [RISCV] Remove exclusions for zext.h/zext.w from our (and (srl X, C1), C2) selection code. Reland [SimplifyCFG] `markAliveBlocks()`: recognize that normal dest of `invoke`d `noreturn` function is `unreachable` [NFC][SimplifyCFG] Add test w/ shared normal dest of a `noreturn` `invoke`d function [BOLT][NFC] Fix compiler warnings [mlir][NFC] Fully qualify call to `mlir::success` in auto generated C++ Revert "[SimplifyCFG] `markAliveBlocks()`: recognize that normal dest of `invoke`d `noreturn` function is `unreachable`" [mlir] Add canonicalizer to merge shape.assuming_all ops [SimplifyCFG] `markAliveBlocks()`: recognize that normal dest of `invoke`d `noreturn` function is `unreachable` [NFC][SimplifyCFG] Add test showing failure to drop normal dest of noreturn invoke [NFC][InstCombine] `visitCallInst()`: make comment more understandable [NFC][SimplifyCFG] 'merge compatible invokes': tests for non-`unreachable` normal destination [ELF] Support R_PPC_NONE/R_PPC64_NONE in getImplicitAddend [yaml2obj] Support R_PPC_* relocation types Revert "[clangd] Properly compute framework-style include spelling" [GlobalISel] Don't combine instructions which are fed by memory instructions using different size [OpenMP] Emit remark on the captured call instead of the variable Attempt forward fix after 4dfd113 [mlir:NFC] Move BaseOpWithOffsetSizesAndStrides out of OpBase.td AMDGPU/GlobalISel: Fix assertions on invalid addrspacecasts [libc++][Docker] Don't actually start using a newer compiler in the CI [libc++] Replace includes of <utility> with specific detail headers [libc++] Bump the version of Clang we use in the CI [mlir][vector] Add constant folder for vector.shuffle ops [ELF][test] Test getImplicitAddend for R_ARM_NONE/R_RISCV_NONE/R_386_NONE/R_X86_64_NONE [OpenMP] Fix mismatched device runtime name AMDGPU: Fix failing test [mlir][spirv] Fix missing dependencies in BUILD.bazel [clangd] Properly compute framework-style include spelling [lld][macho] Add more skip platform check for libSystem re-exports [mlir][spirv] Add support for converting vector.shuffle [PowerPC] Option controling scalar MASS convertion [ELF] Support REL-format R_AARCH64_NONE relocation [bazel] Port dbed14d215fe [libc++] No longer support ranges::begin(x) when x is an array of incomplete type. [WebAssembly] Refactor and fix emission of external IR global decls Rename this file to fix the typo in its name; NFC AMDGPU: Convert AMDGPUResourceUsageAnalysis to a Module pass AMDGPU: Use module level register maximums for unknown callees [libc++] Move fpos into its own header [gn build] Port dbed14d [libc++] Remove unused code paths for non-existent builtins Clean up a test case. [APInt] Update APInt::isShiftedMask() description. NFC. [IntrospectionTest] Replace "return" with "GTEST_SKIP" [mte] [nfc] do not keep Tag in AllocaInfo [OpenMP] Completely remove old device runtime [SLP] Strengthen internal asserts about scheduled node state [NFC] Use functions with prototypes when appropriate; NFC [OpenMP] Add -Bsymbolic to arguments for GNU linker [Clang][Sema][OpenMP] Fix uninitialized variable Op [libc++][ranges][NFC] On the Ranges status page, fix some broken links. [mlir][sparse] Updating sparse-compiler pipeline for python usage [clang-format][NFC] Fix a bug in setting type FunctionLBrace [mlir] Use SetVector to deduplicate shape ops operands [mlir][linalg] Let tile and fuse fail for tile sizes zero. [clang] roll-forward "[clang] Mark `trivial_abi` types as "trivially relocatable"". [x86] enable fast sqrtss/sqrtps tuning for AMD Zen cores [llvm-libtool-darwin] Fix crash with bitcode asm module [gn build] Port 1d8bbe3d255f [RISCV] Implement a basic version of AArch64RedundantCopyElimination pass. [lldb] Rename DemangleWithRichManglingInfo to GetRichManglingInfo (NFC) [Libomptarget] Remove AMDGPU XFAIL from test [mte] fix runOnFunction return value falsely suggesting function was modified. [HeaderSearch] Track framework name in LookupFile [Clang][Sema][OpenMP] Remove unused variables. NFC. [lldb] Don't construct the demangled strings while indexing the symbol table [lldb] Improve RichManglingContext ergonomics (NFC) [msan] Guard FP_XSTATE_MAGIC1 usage with SANITIZER_GLIBC [SLP] Remove ScheduleData::UnscheduledDepsInBundle field [NFC-ish] Revert "[MLIR][Presburger] Use `SmallVector` instead of `std::vector` in `getLocalRepr`" [BOLT][TEST] Add section flags for .gcc_except_table [gn build] Port 4a02562275d4 [gn build] Port 44cdca37c01a [AMDGPU] Lazily init pal metadata on first function [libc++] Define `namespace views` in its own detail header. [Clang][Sema][OpenMP] Sema support for `atomic compare` [Driver][Android] Removed obsoleted --warn-shared-textrel [libc++] Normalize all our '#pragma GCC system_header', and regression-test. [SimplifyCFG] 'merge compatible invokes': allow PHI nodes in landing pads [NFC][SimplifyCFG] Extract `IncomingValuesAreCompatible()` out of `SafeToMergeTerminators()` [NFC][SimplifyCFG] 'merge compatible invokes': tests w/ PHI's in landingpad [AMDGPU] SILoadStoreOptimizer: rewrite checkAndPrepareMerge. NFCI. [RISCV] Add more types of shuffles isShuffleMaskLegal. [RISCV] Add inline expansion for vector fround. [Support] Add isShiftedMask_32/isShiftedMask_64 unit test coverage [NFC] Move FoldingSetNodeIDRef::ComputeHash and FoldingSetNodeID::ComputeHash definitions to header [InstCombine] try to fold one-demanded-bit-of-multiply [x86] add test coverage for AMD Ryzen fast sqrt codegen; NFC [BitstreamReader] Fix incorrect error forwarding [BitstreamReader] Handle errors more gracefully [BitcodeReader] Resolve error handling todo Tweak some uses of std::iota to skip initializing the underlying storage. NFCI. Don't dllexport reference temporaries [gn build] (manually) port e1db505b42f4 (clang-pseudo) [libc] Set default CXX_STANDARD to C++17 and let targets set their own standard if needed. [HIP] Support code object v5 [AMDGPU] SILoadStoreOptimizer: fewer calls to offsetsCanBeCombined [AMDGPU][GFX9][DOC][NFC] Corrected description of registers available via getreg/setreg [NFC][SVE] Change useSVEForFixedLengthVectorVT to allow unconditional SVE usage for NEON sized vectors. [AMDGPU] SILoadStoreOptimizer: simplify class/subclass checks [AArch64] Expand UADDLV patterns to SADDLV [SimplifyCFG] Merge compatible `invoke`s of a `landingpad` [ConstraintElimination] Add initial signed support. [NFC][SimplifyCFG] 'merge compatible invokes': test with PHI nodes in unreachable normal destinations [Statepoint] Determine return type from elementtype attribute [Verifier] Require elementtype on gc.statepoint intrinsics [AMDGPU] SILoadStoreOptimizer: simplify optimizeInstsWithSameBaseAddr [Statepoint] Update gc.statepoint calls in tests with elementtype (NFC) [AMDGPU] SILoadStoreOptimizer: simplify OptimizeListAgain test [AArch64] Fix legalization of v1f64 strict_fsetcc and strict_fsetccs [AArch64] Generate fcmps when appropriate for neon intrinsics Revert "[x86] try harder to scalarize a vector load with extracted integer op uses" [lldb] Remove Log:Channel::GetLogIfAll [OpenMP][Clang] Allow ancestor device modifier only with reverse offloading [libc++] Remove vector base class [ConstraintElimination] Allow adding pre-conditions for constraints. [Format] Also test rvalue-qualified functions [Format] Don't derive pointers right based on space before method ref-qualifiers [clang][CodeGen] Use memory type representation in `va_arg` [syntax][pseudo] Introduce the C++ spec grammar. Reduce dependencies on llvm/BinaryFormat/Dwarf.h [flang] Upstream partial lowering of GET_COMMAND_ARGUMENT intrinsic [OpenCL] Move OpenCL 2.0 atomics into multiclass; NFC [AArch64][SVE] Remove false register dependency for unary FP convert operations [RS4GC] Restore DAG check line (NFC) Split fast-basictest.ll according to passes responsible for optimizations [flang] Handle logical constant value for quiet in STOP stmt [pseudo] NFC, clangSyntaxPsuedo => clangToolingSyntaxPseudo [pseudo] Rename Tests.cpp => Test.cpp [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint [LangRef] Require elementtype attribute for gc.statepoint intrinsic [DAGCombiner] Fix dependency analysis in checkMergeStoreCandidatesForDependencies [ORC] Fix JITDylib debug output: don't output symbol table entry flags twice. [libc++][NFC] Use cpp17_output_iterator in tests. [mlir] Add pass to privatize symbols unless excluded. [SLP] Have only ready items in ready list [NFC] [libc][Obvious] Fix a mismatch signature of HighPrecisionDecimal::should_round_up. [test-release.sh] Set TEST_SUITE_HOST_CC to the release testing build compiler when compiling test-suite tools. [RS4GC] Extract rematerilazable candidate search. NFC. [hwasan] [nfc] simplify getAllocaSizeInBytes [OpenMP] Add Cuda path to linker wrapper tool [nfc][mlgo][regalloc] Cache live interval feature components [Support] unsafe pointer arithmetic in llvm_regcomp() [lld-macho][nfc] Eliminate InputSection::Shared Revert "[ProfileData] Read and symbolize raw memprof profiles." github: Fix issue-subscriber workflow [gn build] Set -fmsc-version=1920 on Windows Revert "[instrprof][NFC] Sort link components and dedupe." [LLDB][NativePDB] terminal entry has lower precedence than new entry [instrprof][NFC] Sort link components and dedupe. [clang][utils] Remove StringRef lldb summary provider [libc++] Fix chrono::duration constructor constraint github: Add actions to automate part of the release workflow [SLP] Strengthen internal invariant assertions slightly Revert "[OpenMP] Don't use bound architecture when checking cache on the host" [ProfileData] Read and symbolize raw memprof profiles. [memprof] Print out the summary in YAML format. [instrprof][NFC] Templatize the instrprof iterator. [DebugInfo] Move the SymbolizableObjectFile header to include/llvm. [GlobalISel] Combine (G_*ADDO x, 0) -> x + no carry out [GlobalISel] Combine: (G_*MULO x, 0) -> 0 + no carry out [mlir] Keep sorted vector of registered operation names for efficient lookup [OpenMP] Don't use bound architecture when checking cache on the host [lld-macho] Minor clean up: use .find() to check for key existence rather than [], which would create a new entry. [LLDB] remove an extra register enum on windows x64 [libc++] Remove the std::string base class [clang-format][NFC] Code Tidies in UnwrappedLineFormatter [gn build] (manually) attempt to port 95d609b549bb [clang-format] Use wider comment prefix space rule [VFS] Add back setFallthrough for downstream users Use functions with prototypes when appropriate; NFC [cmake] Increase -fms-compatibility-version in Windows toolchain file [GSYM] Add Split Dwarf Support to DwarfTransformer Revert "[clang] Mark `trivial_abi` types as "trivially relocatable"." [llvm-objcopy][COFF] Implement --update-section [SLP] Add basic self consistency asserts into scheduling [mlir][scf] Fix bug in pipelining prologue emission [VFS] Add a "redirecting-with" field to overlays [HWASan] Add __hwasan_init to .preinit_array. [AMDGPU] Fix scheduler live-ins with debug inst at start of block [nfc][regalloc] const LiveIntervals within the allocator [tests] Add coverage for SLP reschedule event [SampleProfile] Reduce indentation with an early return (NFC) [CodeGenPrepare] Avoid out-of-bounds shift [AMDGPU] Fix windows build warning with IMMBitSelConst. NFC. [lld][clang][cmake] Clean up a few things [mlir:Vector][NFC] Remove unnecessary dependency on Affine [LLDB] Fix window bot failure [AArch64][SVE] Add more folds to make use of gather/scatter with 32-bit indices [NFC] [hwasan] use InstIterator [llvm-libtool-darwin] Remove var to fix use [nfc] [mte] use InstrIter. [AArch64][SVE] Fold gather/scatter with 32bits when possible [mlir][NFC] Split MlirQuant into proper IR/Utils/Transforms libraries [mli][Linalg] NFC: Refactor methods in `ElementwiseOpFusion`. sanitizer_common: fix __sanitizer_get_module_and_offset_for_pc signature mismatch [clang-format] regression from clang-format v13 [llvm-libtool-darwin] Improve warning message for no symbols [Clang][Docs] Add documention for new OpenMP offloading driver [Support][NFC] Don’t duplicate class or function name in comment [clang-format] Avoid merging macro definitions. [clang-format] Avoid adding space after the name of a function-like macro when the name is a keyword. [RISCV] Add FMV_X_W and FMV_X_H to RISCVSExtWRemoval. [AMDGPU] HWRegs TMA and TBA also supported on gfx9 [x86] add minimal test for sbb idiom and CPU capabilities; NFC [x86] remove CPU requirement for RUN line in test file; NFC [hwasan] add musttail IR test. Revert "[nfc][mlgo] De-const a parameter" [SLP] Fix a typo in comment [lldb] Fix windows&mac builds for c34698a811b13 [AMDGPU] Introduce new ISel combine for trunc-slr patterns [mlir-translate] Teach these tools about --allow-unregistered-dialect [AARCH64][NEON] Allow to sink operands for aarch64_neon_pmull [test] check strictest attributes possible for InferFunctionAttrs test add IR compatability test for (upcoming) allocsize attribute [NFC] MemoryBuiltins: tease out a getFreeFunctionDataForFunction helper [RISCV] Remove createVirtualRegister from RISCVInstrInfo::movImm. [clang-tidy] Fix LLVM include order check policy [RISCV] Remove RISCVISD::SPLAT_VECTOR_I64 in favor of RISCVISD::VMV_V_X_VL. MemoryBuiltins: simplify isLibFreeFunction [NFC] [AMDGPU] Simplify AMDGPUAnnotateUniformValues::visitLoadInst [mlir][taco] Uses sparse_tensor.new to read tensor input data from files. [MLIR][SCF] Remove loop invariant arguments of scf.while [AMDGPU] Tweak tests in noclobber-barrier.ll [gn build] Port c34698a811b1 MipsABIFlagsSection.h - replace unnecessary StringRef include with forward declaration [X86] simplifyX86varShift - use KnownBits.getMaxValue().ult() to check for out of bounds shift amounts [gn build] (manually) port 20e05b9f0ebe (ClangPseudoTests) [clang][driver][wasm] Remove unneeded default labels [LV] Use VScaleForTuning to allow wider epilogue VFs. [clang][driver][wasm] Support -stdlib=libstdc++ for WebAssembly Revert "[flang] Debugging of ACCESS='STREAM' I/O" [Lanai] Remove orphan LanaiInstPrinter::printAluOperand declaration. NFCI. LanaiInstPrinter.h - replace unnecessary StringRef include with forward declaration [SLP]Excluded external uses from the reordering estimation. [NFC] Move FoldingSetNodeID::AddInteger and FoldingSetNodeID::AddPointer definitions to header XCoreTargetMachine.h - replace unnecessary StringRef include with forward declaration XCoreInstPrinter.h - replace unnecessary StringRef include with forward declaration [XCore] Remove orphan XCoreInstPrinter::printMemOperand declaration. NFCI. [SLP]Alternate vectorization for cmp instructions. [clang][docs] Regenerate ASTMatchers documentation [mlir][Rewrite] Add support for using an operation with no results as location [fir] Add fir.array_amend operation definition [flang] Remove ununsed variable in ScalarExprLowering [NFC] TypePromotion test for AArch64 [lldb] Rename Logging.h to LLDBLog.h and clean up includes [AArch64][SVE] Fold vselect into predicated fmul, fsub and fadd [clangd] IncludeCleaner: Decrease API dependency on clangd [RISCV] Add support for Zihintpause extention [AArch64] Adjust machine-combiner-reassociate.mir test [clang-format] Add missing newline in -style help ModuleUtils - VFABI::setVectorVariantNames - use ArrayRef<> instead of const SmallVector to pass argument [clangd][nfc] cleanup of remaining clang-tidy findings [AArch64] Make machine combiner patterns preserve MIFlags [clangd] NFC, remove an unused local varaiable. [llvm-ar] Prevent automatic conversion from thin to full archive [mlir][vector] Sink StandardOps include to its user in VectorUtils [RS4GC] Regenerate test checks (NFC) [OpenCL] Move most _explicit atomics into multiclass; NFC [ConstraintElimination] Handle degenerate case with branch to same dest. [ConstraintElimination] Add test cases from PR49819. [AArch64] Reassociate integer extending reductions to pairwise addition. [clang-format] Revert a feature in RemoveBracesLLVM [compiler-rt][lsan] Increase libdl_deadlock test timeout [mlir][NFC] Fully qualify a default C++ string in Pattern.cpp [fir] Add fir.array_access op [flang] Lower integer constant code for STOP stmt [syntax][pseudo] Add Grammar for the clang pseudo-parser [flang] Add lowering for integer constant [clang][Hexagon] Match -lc option more specifically in toolchain test [VE] Packed v512i32 isel and tests [ConstantFolding] Fold constrained compare intrinsics Revert "[compiler-rt][Darwin] Add arm64 to simulator platforms" [clang-format] Reserve vectors when the number of items is known beforehand. NFC. Revert "[SimplifyCFG] Start redesigning `FoldTwoEntryPHINode()`." [ISEL] Canonicalize STEP_VECTOR to LHS if RHS is a splat. [AMDGPU] Update two Codegen tests. (NFC) Remove -Wweak-template-vtables [flang] add ExtendedValue type helpers and factory::genZeroValue [clang-format] Use back() instead of rbegin(). NFC. [clang-format] Remove unnecessary non-null check and assert instead. NFC. [mlir] Fix crash in RewriterGen when a `TypeConstraint` is not given an argument [llvm-jitlink] Add comment to clarify testcase intent. [llvm-jitlink] Add -alias option, shorten "-define-abs" option to "-abs". [asan][test] Re-generate asan-check-memaccess-add.ll with update_llc_test_checks.py [libc++][nfc] Add TEST_HAS_NO_UNICODE_CHARS. [libc++][ranges][NFC] Test the specializations of `tuple_{size,element}` for ranges. [BOLT][NFC] Use isInt<> instead of range checks [RISCV] Remove unused variables. NFC [BOLT][TEST] Add heatmap.test [clang] Mark `trivial_abi` types as "trivially relocatable". [gn build] Port 610979b301c5 [libc++][ranges] Add ranges::in_out_out_result PR45879: Fix assert when constant evaluating union assignment. [bazel] Port ead1107257e6 [asan][X86] Change some std::string variables to StringRef. NFC [gn build] (manually) port ded733bd4 (llvm-remark-size-diff) [ASan] Added intermediate functions between assembly and __asan_report.* to avoid link errors. Fix buildbot failure after D112940 RegScavenger: Add function to externally reserve a scavenging index [mte] fix compiler crash with musttail. Add a tool for diffing size remarks [NFC] pull retvec logic to MemoryTaggingSupport. AMDGPU: Add second emergency slot for SGPR to vmem for large frames [SimplifyCFG] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds [mlir] Remove dangling reference to std-bufferize which got removed [flang] Add a semantics test for co_broadcast [lld-macho] Fix duplicate symbols with relocatable objects Skip exception cleanups when the innermost scope is EHTerminateScope. [mlir:Standard] Remove support for creating a `unit` ConstantOp [mlir] Move StandardOps/Utils to Arithmetic and sever a bunch of dependencies on Standard [mlir] Move SelectOp from Standard to Arithmetic [mlir] Split std.splat into tensor.splat and vector.splat [mte] support more complicated lifetimes (e.g. for exceptions). [InstrProf][NFC] Remove stray option in InstrProfWriter AMDGPU [NFC]: Fix a few typos in docs AMDGPUUsage.rst [LLDB] add sub regigter enums on x64 Windows [release] Use the Bootstrapping build for building LLVM releases [lld-macho][nfc] Hoist out creation of Section in parseSections() [x86] add test for 'sbb' false dependency stall; NFC [x86] make helper function to create sbb with zero operands; NFC [mte] work around lifetime issue with setjmp. [flang] Modify right modes for READ/WRITE vs OPEN [NFC] remove excessive whitespace. [mlir][NFC] Update remaining dialect operations to use `hasVerifier` instead of `verifier` [mlir][NFC] Update PDL operations to use `hasVerifier` instead of `verifier` [mlir][NFC] Update GPU/SCF operations to use `hasVerifier` instead of `verifier` [mlir][NFC] Update Affine operations to use `hasVerifier` instead of `verifier` [mlir][NFC] Update OpenACC/OpenMP operations to use `hasVerifier` instead of `verifier` [mlir][NFC] Update MemRef/Tensor operations to use `hasVerifier` instead of `verifier` [mlir][NFC] Update Vector operations to use `hasVerifier` instead of `verifier` [mlir][NFC] Update AMX/LLVM/NVVM/X86 vector operations to use `hasVerifier` instead of `verifier` [mlir][NFC] Update SPIRV operations to use `hasVerifier` instead of `verifier` [mlir][NFC] Update Toy operations to use `hasVerifier` instead of `verifier` [mlir] Refactor how additional verification is specified in ODS [libc++][ranges][NFC] Small updates to the Ranges status page: [gn build] Port 712b31e2d4dc [libc++][ranges] Implement `indirectly_copyable{,_storable}`. [NFC] factor isStandardLifetime out of HWASan [libc++][ranges][NFC] In the Ranges status, mark move_sentinel as "in progress" The methods visited for a special class must have an identifier. [flang] Debugging of ACCESS='STREAM' I/O Follow up to 6e03a68b776dc, squelch another leak [libc++][ranges][NFC] Test new requirements for `basic_string_view` and `span` iterators. [libc++][ranges][NFC] Add contiguous_iterator_tag to the <iterator> synopsis [OMPIRBuilder] Add support for atomic compare [libc++] Add UNSUPPORTED for clang-15 [RISCV] Cleanup some places that assumed VLMaxSentinel and -1 constant mean the same thing. NFCI [libc][bazel overlay] Add a target for strncpy. Revert "[SLP]Alternate vectorization for cmp instructions." [LoopFuse] Change DT to reference in FusionCandidate struct. NFC [analyzer] Add support for __attribute__((returns_nonnull)). [DebugInfo] Re-enable instruction referencing for x86_64 [IRSim] Make sure that commutative intrinsics are treated as function calls without commutativity CodeGen: Use asm register names in warning message AMDGPU: Implement isAsmClobberable [clang] fix out of bounds access in an empty string when lexing a _Pragma with missing string token [flang] Silence bogus error on use after IMPORT [flang] prevent rewrite of CMPLX with dynamically optional Y argument [flang] Fix: use right symbol for parent component [libc++] [NFC] s/__referenceable/__can_reference/ [SLP]Alternate vectorization for cmp instructions. [lldb] [Commands] Implement "thread siginfo" [PowerPC] Fixing buildbod failure ppc64le-lld-multistage-test [mlir] Support verification order (1/3) [clang][Sparc] Fix __builtin_extract_return_addr etc. [RISCV] Add DAG combines to transform ADD_VL/SUB_VL into widening add/sub. [NFC] TypePromotion tests [flang] Switch return to ExtendedValue in AbstractConverter and Bridge [libc++] UNSUPPORT GDB pretty printers with Clang 15 (which is what main is) [flang] Set right "inNamelist" flag [AMDGPU] Use new target MMO flag MONoClobber [libc++] [test] Fix a couple of copy-paste comments. NFC. Add missing include diagnosed by the modules build. Remove redundant LLVM_HAS_RVALUE_REFERENCE_THIS and LLVM_LVALUE_FUNCTION defines [Function Specialisation] Fix use after free [clang][macho] add clang frontend support for emitting macho files with two build version load commands TrigramIndex.h - move unnecessary StringRef include down to TrigramIndex.cpp [libc++] Guard bits of 598983d7 against _LIBCPP_HAS_NO_CONCEPTS. [gn build] Port 256d2533322c [IRBuilder] Reformat two functions (NFC) [libc++] [NFC] Normalize some `#ifndef _LIBCPP_HAS_NO_CONCEPTS`. [libc++] [NFC] s/_LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CONCEPTS)/!defined(_LIBCPP_HAS_NO_CONCEPTS)/ Follow up to 9fd9d56dc6b, avoid a memory leak [ConstraintElimination] Add tests with signed predicates and GEPs. [PowerPC] Scalar IBM MASS library conversion pass [libc++] Add CI without experimental features and don't exclude span from the tests [llvm-rc] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr Signposts.h - move unnecessary StringRef include down to Signposts.cpp Fix buildbreak introduced in ed2deab5956fea9e8f64ef6020fe0b4e19734ecc [nfc][regalloc] Make the max inference cutoff configurable Also document -arch as -arch is mac specific [DebugInfo][InstrRef] Fix a tombstone-in-DenseMap crash from D117877 [NFC][SimplifyCFG] Merge `FoldTwoEntryPHINode()` into it's only callee [NFC][SimplifyCFG] `FoldTwoEntryPHINode()`: s/BB/MergeBB/ [SimplifyCFG] Start redesigning `FoldTwoEntryPHINode()`. [NFC][SimplifyCFG] Autogenerate checklines in a few tests being affected by upcoming change [MLIR][Presburger] Simplify checkExplicitRepresentation [clang-format] Elide unnecessary braces. NFC. [MLIR][Presburger] Use `SmallVector` instead of `std::vector` in `getLocalRepr` [libc] Populate rtti/eh flags for all targets [llvm-profgen] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr [llvm-profgen] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr [DebugInfo][InstrRef][NFC] Use depth-first scope search for variable locs [AArch64] Genereate CCMP from And CSel [ArgPromotion] Add test with bitcasts (NFC) [libc] use llvm_update_compile_flags to populate rtti/exception compilation flags [clang-format] Elide unnecessary braces. NFC. [clang-format] Factor out loop variable. NFC. [clang-format] Simplify use of StringRef::substr(). NFC. [MLIR][Presburger] maybeLocalRepr: rename inEqualityPair -> inequalityPair [x86] invert a vector select IR canonicalization with a binop identity constant [clang][NFC] Remove unreachable code [MLIR][Presburger] Support isSubsetOf in PresburgerSet and IntegerPolyhedron [lldb] Convert "LLDB" log channel to the new API [clang-format] Use prefix operator--. NFC. [clang-format] Use llvm::seq instead of std::iota. NFC. [DebugInfo][InstrRef][NFC] Free resources at an earlier stage [Docs][NFC] Contributing.rst: fix wording [MLIR] PresburgerSet::isIntegerEmpty: address clang-tidy warning [NFC][libc] Remove unneeded gtest and benchmark configuration [DebugInfo][InstrRef][NFC] Cache some PHI resolutions [MLIR][AffineAnalysis] Fix typo in comment (NFC) [MLIR] Matrix: support matrix-vector multiplication Revert "[SLP]Alternate vectorization for cmp instructions." [LAA] Add Memory dependence remarks. [DAG] SimplifyDemandedVectorElts - remove KnownZero/KnownUndef from DCI helper wrapper [scan-build] Fix deadlock at failures in libears/ear.c [libc] Fix automemcpy test by adding memmove configuration Re-apply 3fab2d138e30, now with a triple added [mlir][vector] Avoid hoisting alloca'ed temporary buffers across AutomaticAllocationScope [MSVC] Workaround missing search path for sanitizer headers. [mlir] Fully qualify generated C++ code in RewriterGen.cpp Revert "[analyzer] Prevent misuses of -analyze-function" [AVR] Avoid reusing the same variable name (NFC) [analyzer] Prevent misuses of -analyze-function [OpenCL] Test -fdeclare-opencl-builtins with CL3 and CLC++2021 [mlir][async] Add AutomaticAllocationScope to async::ExecuteOp [TypePromotion] Avoid some unnecessary truncs [libc++][P2321R2] Add specializations of basic_common_reference and common_type for pair [AArch64][CodeGen] Always use SVE (when enabled) to lower integer divides [GVN] Replace PointerIntPair with separate pointer & kind fields (NFC). [compiler-rt][Darwin] Add arm64 to simulator platforms [clang-format] Correctly parse C99 digraphs: "<:", ":>", "<%", "%>", "%:", "%:%:". [GVN] Support load of pointer-select to value-select conversion. [mlir][vector] Make write permutation lowering work with tensors. [VE] Packed v512f32 binop isel and tests [AArch64][SVE] NFC: tidy up isel lowering [llvm-reduce] Display all relevant options in -help [ArgPromotion] Add test for volatile and atomic loads (NFC) [flang][optimizer] support aggregate types inside tuple and record type [VE] LEGALAVL and staged VVP legalization [AVR][NFC] Make atomics tests easier to read [AVR] Fix atomicrmw result value Bump the trunk major version to 15 [flang] Lower PAUSE statement [docs] Remove hard-coded version numbers from sphinx configs [cmake][NFC] Configuration for libLLVM.so symbol versioning Add missing includes after LLVMCore header cleanup Update status on migration again. Add note about issues with reply by email from emails pre-migration. [lld][ELF] Add support for ADRP+ADD optimization for AArch64 Cleanup header dependencies in LLVMCore [RISCV] Fix some 80 column violations in ComputeNumSignBitsForTargetNode. NFC [TableGen][RISCV] Relax a restriction in generating patterns for commutable SDNodes. [mlir][ods] NFC Fix ASAN error in FormatParser Reland "[gn build] (manually) port 36892727e4f1" Revert "[DebugInfo][InstrRef] Add a max-stack-slots-to-track cut-out" Add new status of the move to Discourse. [ARM] Fix build break after 762f0b546328 Update discourse migration status. [AMDGPU][NFC] Fixing formatting [flang] Fix argument keyword names in some specific intrinsics [libc++][ranges][NFC] Fix an inconsistent patch link on the Ranges status page. [llvm-profgen] Clean up unnecessary memory reservations between phases. [flang] Fix edge-case I/O regressions Test fixes for prior patch Revert "DebugInfo: Don't put types in type units if they reference internal linkage types" Revert "[ASan] Not linking asan_static library for DSO." [mlir][taco] Add a utility to create an MLIR sparse tensor from a file. [Driver][test] Fix fatal-warnings.c CHECK lines and fold the test into as-warnings.c Revert "[llvm-profgen] Clean up unnecessary memory reservations between phases." [libc++][ranges][NFC] In the Ranges status, list the changes to stream.iterators [LV] Allow a scalable VF for the epilogue. Reland "enable plugins for clang-tidy" [libc++][ranges][NFC] In the Ranges status, list the changes to predef.iterators [LoopFuse] Add assertion for non-null DT in fusion candidate [LoopPeel] Use reference instead of pointer for DT argument [libc++] Make _VSTD and alias for std Add ClangLinkerWrapper to the TOC to appease the Sphinx build bot [sanitizer_common][test] Enable tests on SPARC [libc++] Remove unneeded qualifier. [hwasan][test] Remove obsoleted/removed -fno-experimental-new-pass-manager [GVN] Add additional tests after 216d1a729. [llvm-profgen] Clean up unnecessary memory reservations between phases. [x86] add tests for fmul/fdiv with identity constant in select arm; NFC [x86] add more tests for select with identity constant; NFC [mlir][capi] Add DialectRegistry to MLIR C-API [AMDGPU] Check atomics aliasing in the clobbering annotation [libc++] Fix TOCTOU issue with std::filesystem::remove_all [libc++][ci] Re-enable the bootstrapping build [GVN] Add tests for D118143 not requiring loops. Revert "[DAG] Extend SearchForAndLoads with any_extend handling" [clang] Don't typo-fix an expression in a SFINAE context. [clang] Correctly(?) handle placeholder types in ExprRequirements. [libc++] Fix LWG3589 "The const lvalue reference overload of get for subrange..." [hwasan] work around lifetime issue with setjmp. [flang] Lower basic STOP statement [flang] Fix/work around warnings from GCC 11 [AMDGPU] Allow scalar loads after barrier [DebugInfo][InstrRef][NFC] Bypass a frequently-noop loop [DebugInfo][InstrRef] Add a max-stack-slots-to-track cut-out [HWASan] Properly handle musttail calls. [NFC] These tests require a default target Change namespace llvm::swift to namespace llvm::binaryformat because of clashes with the apple/llvm-project repository [NFC] Use llvm-as instead of llc [InstCombine] Remove weaker fence adjacent to a stronger fence [DebugInfo][InstrRef][NFC] Don't build a map of un-needed values [OpenMP] Add kernel string attribute to kernel function [lld-macho][nfc] Comments and style fixes Update status of move. [GlobalOpt] Don't replace alias with aliasee if either alias/aliasee may be preemptible Avoid doing tile + fuse if tile sizes are zero. [NFC] Add CFGuard to opt build [AMDGPU][test] Add dso_local to prevent preemptible alias resolution [ELF] Update flag propagation rule to ignore discarded output sections [ELF] Rename adjustSectionsBeforeSorting to adjustOutputSections and make it affect INSERT commands [AArch64] Add some CCMP testing. NFC [ELF] Deduplicate names of local symbols only with -O2 [llvm-ar] -s: don't convert a thin archive to a regular one [llvm-ar] Add --thin for creating a thin archive [SLP]Alternate vectorization for cmp instructions. [ELF] Simplify code with invokeELFT. NFC [Hexagon] Punt on registers without reaching defs in addr mode opt [flang] Upstream partial lowering of EXIT intrinsic [ELF] De-template LinkerDriver::link. NFC [TableGen] Fix reporting from CodeGenSchedModels::checkCompleteness(). [SLP][NFC]Add a test for alternate vectorization in cmp instructions with same/swapped predicate. Revert "Revert "[mlir] Purge `linalg.copy` and use `memref.copy` instead."" [libc++][NFC] Add namespace comments in ranges [flang] Rename the runtime routine that reports a fatal user error [NFC][AIX]Disable failed tests due to aggressive byval alignment warning on AIX [mlir] Better error message in PybindAdaptors.h [AIX] Bump DWARF versions to 3 because XCOFF64 requires DWARF64 [DFAJumpThreading] make update order deterministic [nfc][regalloc] Move DefaultEvictionAdvisor::* to RegAllocEvictionAdvisor.cpp [RISCC] Add missing words to comment. NFC [RISCV] Fix a vsetvli insertion bug involving loads/stores. [clang][dataflow] Enable comparison of distinct values in Environment [RISCV] Don't make it an error have Zve* and V at the same time. [clangd] Fix handling of co_await in go-to-type [GlobalOpt] Avoid early exit before dead constant check Revert "[OpenMP][FIX] Explicit barriers in SPMD mode are not aligned" [OpenMP] Temporarily remove checks to fix failing test on MACOS [RISCV] Adjust some comments. [clangd] Group and extend release notes [GlobalStatus] Skip non-pointer dead constant users [AArch64] Add signed version of uaddlv test. NFC ... Signed-off-by: kyvangka1610 <[email protected]>
2 parents 705f70a + b63ca0a commit eae0641

Sorry, this diff is taking too long to generate.

It may be too large to display on GitHub.