summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/clang.inc
Commit message (Collapse)AuthorAgeFilesLines
* clang: Upgrade to 18.1.6HEADmasterKhem Raj3 days1-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 1118c2e05e67 [libcxx][libcxxabi] Fix build for OpenBSD (#92186) * 48c1364200b5 [clang] Don't assume location of compiler-rt for OpenBSD (#92183) * 3d0752b9492e [GlobalOpt] Don't replace aliasee with alias that has weak linkage (#91483) * 92087868d5d2 [Arm64EC] Correctly handle sret in entry thunks. (#92326) * bee6966d8efa [Arm64EC] Improve alignment mangling in arm64ec thunks. (#90115) * 6456ebbc18a6 [workflows] Fix libclang-abi-tests to work with new version scheme (#91865) * a7cd0c611238 [RISCV] Add a unaligned-scalar-mem feature like we had in clang 17. * 2a4a0bf1db8b Update llvm/test/Transforms/InstCombine/bit_ceil.ll * 26ccc6b5c1c7 [InstCombine] Drop nuw flag when CtlzOp is a sub nuw (#91776) * aa2549e2bf12 Revert "[SLP]Fix a crash if the argument of call was affected by minbitwidth analysis." * c6d554618931 [GlobalIsel][AArch64] fix out of range access in regbankselect (#92072) * 9acb41b1e4bb [SystemZ] Handle address clobbering in splitMove(). (#92105) * 1665723044ec release/18.x: [libclc] Fix linking against libIRReader * 494847ba8fef [InstSimplify] Do not simplify freeze in `simplifyWithOpReplaced` (#91215) * fac122ac4391 [X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (#91694) * 47b6dc45e39a [AArch64][SelectionDAG] Mask for SUBS with multiple users cannot be elided (#90911) * dff717818356 [RISCV] Use 'riscv-isa' module flag to set ELF flags and attributes. (#85155) * 3512b12a7981 [RISCV] Store RVC and TSO ELF flags explicitly in RISCVTargetStreamer. NFCI (#83344) * be239653149f [RISCV] Add canonical ISA string as Module metadata in IR. (#80760) * 6cfa40e450cf [RISCV][lld] Set the type of TLSDESC relocation's referenced local symbol to STT_NOTYPE * 1184a9cb30e6 [PPCMergeStringPool] Avoid replacing constant with instruction (#88846) * f1491c7460e7 [clang-format] Fix a crash with AlignArrayOfStructures option (#86420) * 8d65f14cb6ff [Clang][Sema] Revise the transformation of CTAD parameters of nested class templates (#91628) * be6c81751cc9 [lld][WebAssembly] Fix test on Windows, use llvm-ar instead of ar * c5b3fa491f00 Reland "[clang-repl] Keep the first llvm::Module empty to avoid invalid memory access. (#89031)" * a82ddb9d8122 [workflows] Add a job for requesting a release note on release branch PRs (#91826) * 09615ce869b0 [OpenMP] Fix child processes to use affinity_none (#91391) * 5c77c1d31d14 [llvm][lld] Pre-commit tests for RISCV TLSDESC symbols * 7dbd266e89a7 [AArc64][GlobalISel] Fix legalizer assert for G_INSERT_VECTOR_ELT * d9a7e5179a89 [InterleavedLoadCombine] Bail out on non-byte-sized vector element type (#90705) * 0a045c9d83bb [AArch64][GISEL] Consider fcmp true and fcmp false in cond code selection (#86972) (#91580) * 4a28f8e3c625 [FunctionAttrs] Fix incorrect nonnull inference for non-inbounds GEP (#91180) * 0abb89a80f5c [clang-format] Don't remove parentheses of fold expressions (#91045) * bce9393291a2 [AMDGPU] Fix GFX12 encoding of s_wait_event export_ready (#89622) * f5f572f54b32 [SelectionDAG] Mark frame index as "aliased" at argument copy elison (#89712) * dfc89f89ed14 [X86][FP16] Do not create VBROADCAST_LOAD for f16 without AVX2 (#91125) * 047cd915b86a [X86][EVEX512] Add `HasEVEX512` when `NoVLX` used for 512-bit patterns (#91106) * 58e44d3c6f67 [AMDGPU] Enhance s_waitcnt insertion before barrier for gfx12 (#90595) * d1d7131906d9 [Workflows] Re-write release-binaries workflow (#89521) * 211cdc65a1fb workflows: Fix incorrect input name in release-binaries.yml (#84604) * 0ec1bc454456 workflows: Fixes for building the release binaries (#83694) * d9661e11996d [Github] Add repository checks to release-binaries workflow (#84437) * b7e2397c54b7 [CMake][Release] Enable CMAKE_POSITION_INDEPENDENT_CODE (#90139) * ce88e86e428b [CMake][Release] Refactor cache file and use two stages for non-PGO builds (#89812) * f2c5a10e1f27 [CMake][Release] Add stage2-package target (#89517) * dd3aa6d0e9a8 Bump version to 18.1.6 (#91094) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: use release tarball instead of gitscarthgapEtienne Cordonnier2024-05-071-3/+1
| | | | | | | | | | | | For clang 18.1.5, the llvm-project-source repository is about 3GB big, whereas the source tarball is 126MB big. Using the source tarball instead of the git repository speeds up the fetch step significantly. Also, the git repository is getting so big that depending on the network setup, it is necessary to change git http.postBuffer options in order to avoid errors such as "fetch-pack: unexpected disconnect while reading sideband packet". Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
* clang: Upgrade to 18.1.5Khem Raj2024-05-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings * 617a15a9eac9 [clang codegen] Fix MS ABI detection of user-provided constructors. (#90151) * 20b9ed64ea07 [RISCV][ISel] Fix types in `tryFoldSelectIntoOp` (#90659) * ece9d35f1a70 [GlobalISel] Fix store merging incorrectly classifying an unknown index expr as 0. (#90375) * a7b8b890600a [X86] Enable EVEX512 when host CPU has AVX512 (#90479) * 4da5b1417493 [GlobalISel] Don't form anyextending atomic loads. * a96b04442c9f [AArch64] Remove invalid uabdl patterns. (#89272) * aea091b70eda [clang][CoverageMapping] do not emit a gap region when either end doesn't have valid source locations (#89564) * 58648f334d62 [X86][EVEX512] Check hasEVEX512 for canExtendTo512DQ (#90390) * 6350acdb134d [CGP] Drop poison-generating flags after hoisting (#90382) * f341c76b9461 [Clang] Handle structs with inner structs and no fields (#89126) * abf6b13085fb [IRCE] Skip icmp ptr in `InductiveRangeCheck::parseRangeCheckICmp` (#89967) * ee5bb0c95667 Fix Objective-C++ Sret of non-trivial data types on Windows ARM64 (#88671) * 6dbaa89433f7 [clang-format] Fix a regression in ContinuationIndenter (#88414) * 51ff7f38b633 [clang-format] Fix a regression in annotating TrailingReturnArrow (#86624) * b544217fb31f [AMDGPU] Fix setting nontemporal in memory legalizer (#83815) * 78b99c73ee4b [DAGCombiner] Fix miscompile bug in combineShiftOfShiftedLogic (#89616) * 1aa91720cc4f [DAGCombiner] Pre-commit test case for miscompile bug in combineShiftOfShiftedLogic * 35fea1032741 release/18.x: [clang-format] Correctly annotate braces in macros (#87953) * b9b73814ad8a [libcxx] [modules] Add _LIBCPP_USING_IF_EXISTS on aligned_alloc (#89827) * c0b48372d82a release/18.x: [clang-format] Revert breaking stream operators to previous default (#89016) * 3b4ba7277bd7 [analyzer] Fix performance of getTaintedSymbolsImpl() (#89606) * 7699b341b763 release/18.x: [clang-format] Fix a regression in annotating BK_BracedInit (#87450) * fb865928c8e0 [GlobalISel] Fix fewerElementsVectorPhi to insert after G_PHIs (#87927) * 111ae4509c96 [X86] Fix miscompile in combineShiftRightArithmetic * 76cbd417af50 [X86] Pre-commit tests (NFC) * e7c816b3cd3e [InstCombine] Fix unexpected overwriting in `foldSelectWithSRem` (#89539) * 3685a599c866 ReleaseNote: Mention SpecialCaseList change (#89141) * a981a4f7653c [X86] Always use 64-bit relocations in no-PIC large code model (#89101) * 4ddac856c55f [analyzer] Fix a security.cert.env.InvalidPtr crash * c6d63d4fc555 Bump version to 18.1.5 (#89291) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 18.1.4Khem Raj2024-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e6c3289804a6 [CMake][Release] Disable PGO (#88465) (#89000) * 028e425f86cc [MIPS] Fix the opcode of max.fmt and mina.fmt (#85609) * e3c832b37b0a Fix override keyword being print to the left side * 1deeee3f5da4 Revert "[Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072)" * 995539ce05ba [LLD] [COFF] Don't add pseudo relocs for dangling references (#88487) * db67e6fb9ad1 [libc++] Fix -Wgnu-include-next in stddef.h (#88214) * 647fbc710840 [SelectionDAG] Prevent combination on inconsistent type in `combineCarryDiamond` (#84888) * eaae766a20fd [RISCV] Support rv{32, 64}e in the compiler builtins (#88252) * c24b41d71f2e github-upload-release.py: Fix bug preventing release creation (#84571) * c837970dd7e9 [Codegen][X86] Fix /HOTPATCH with clang-cl and inline asm (#87639) * d0ddcce21d91 [InstSimplify] Make sure the simplified value doesn't generate poison in threadBinOpOverSelect (#87075) * 4056cc29dfd3 Prepend all library intrinsics with `#` when building for Arm64EC (#87542) * 6e071cf30599 [SLP]Fix a crash if the argument of call was affected by minbitwidth analysis. * d89da2ac8839 [libcxx] coerce formatter precision to int (#87738) * b6ebea7972cd [SPARC] Implement L and H inline asm argument modifiers (#87259) * bffecba7ce4c [libc++] Simplify the implementation of <stddef.h> (#86843) * 9899a2d76c8f [lit][ci] Publish lit wheels (#88072) * 3ceccbdb1995 [clang-format] Correctly annotate braces of empty ctors/dtors (#82097) * 429d62872525 [Headers] Don't declare unreachable() from stddef.h in C++ (#86748) * feba8727f805 [ConstantRange] Fix off by 1 bugs in UIToFP and SIToFP handling. (#86041) * e4259b583c92 [Float2Int] Pre-commit test for SIToFP/UIToFP ConstantRange bug. NFC * daca56d8e162 Bump version to 18.1.4 (#87715) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 18.1.3Khem Raj2024-04-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings * c13b7485b879 [clang] Avoid -Wshadow warning when init-capture named same as class field (#74512) * f249092ef26d [tsan] Refine fstat{,64} interceptors (#86625) * 76c721994a11 [clang][Sema] Fix a CTAD regression after 42239d2e9 (#86914) * e0f0c463b539 [mlir][transform] replace original op to loop ops (#83537) * 47aac495c895 [OpenMP][AIX] Affinity implementation for AIX (#84984) * a385a917da93 [Support] Fix color handling in formatted_raw_ostream (#86700) * 0cd4babe0342 Reapply [libcxx] [modules] Fix relative paths with absolute LIBCXX_INSTALL_MODULES_DIR (#86020) * cfaeee6a8994 release/18.x: [SystemZ] Fix overflow flag for i128 USUBO (#86491) * 767b61c159b3 [lld/ELF][X86] Respect outSecOff when checking if GOTPCREL can be relaxed (#86334) * 7c7c3d4a3a27 [ODS][NFC] Cast range.size() to int32_t in accumulation (#85629) * 0e501dbd932e [Mips] Restore wrong deletion of instruction 'and' in unsigned min/max processing. (#85902) * fbb27d16fa12 [Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072) * e74c1678231a [PowerPC] provide CFI for ELF32 to unwind cr2, cr3, cr4 (#83098) * 1c7c16e58240 [NFC][PowerPC] use script to regenerate the CHECK lines * c2a57034eff0 [msan] Re-exec with no ASLR if memory layout is incompatible on Linux (#85142) * b74f6158460c [msan] Add 'MappingDesc::ALLOCATOR' type and check it is available (#85153) * 98a15dd2d728 [clang][CodeGen] Allow `memcpy` replace with trivial auto var init * 2498e3a07f3d [LoongArch] Assume no-op addrspacecasts by default (#82332) * 368dc8553c5a [SROA]: Only defer trying partial sized ptr or ptr vector types * 0e16af8e4cf3 [ARM] Update IsRestored for LR based on all returns (#82745) * 6f8016fda7d5 Pre-commit test showing bug #80287 * ef6d1ec07c69 Bump version to 18.1.3 (#86168) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Update clang to 18.1.2 releaseKhem Raj2024-03-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings these changes * 26a1d6601d72 [X86] Add missing subvector_subreg_lowering for BF16 (#83720) * 0bf7ff1028fb [C++20] [Moduls] Avoid computing odr hash for functions from comparing constraint expression * a2c93b34dfdf [RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (#82506) * a9d4ed71707d [RISCV] Adjust test case to show wrong stride. NFC * 42f511c95c6f [RISCV] Add test case for miscompile in gather -> strided load combine. NFC * 53ea0de61dcd [TSan] Fix atomicrmw xchg with pointer and floats (#85228) * fd9f1faf8fcb [AVR] Remove earlyclobber from LDDRdPtrQ (#85277) * 2d35ba4a8577 Revert "release/18.x: [openmp] __kmp_x86_cpuid fix for i386/PIC builds. (#846…" * df20f2fc9998 [PowerPC] Update chain uses when emitting lxsizx (#84892) * c09f6f6f4341 [llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710) * cba6ebf0d0ab [llvm-shlib] Fix libLLVM-18 symlink on mingw (#85554) * bcf98bd84199 llvm-shlib: Fix libLLVM-${MAJOR}.so symlink on MacOS (#85163) * b1f1effacf32 [WebAssembly] Change the default linker for `wasm32-wasip2` (#84569) * ecc22d27e5b8 workflows: Fix baseline version for llvm abi checks (#85166) * 7fd9979eb9cf [InstCombine] Drop UB-implying attrs/metadata after speculating an instruction (#85542) * edbe7fa5fef9 [lld][LoongArch] Fix handleUleb128 * b95ea2e51bdf [lld][test] Fix sanitizer buildbot failure * 2f640ad26d17 Remove support for EXPORTAS in def files to maintain ABI compatibility for COFFShortExport * 207ecd684cc6 [Arm64EC] Copy import descriptors to the EC Map (#84834) * 79bc8b32c6ed [llvm-lib][Object] Add support for EC importlib symbols. (#81059) * 76e1800f3565 [llvm-lib][llvm-dlltool][Object] Add support for EXPORTAS name types. (#78772) * 77e1992e89d3 [llvm-readobj][Object][COFF] Print COFF import library symbol export name. (#78769) * 3a06861272d8 [libc++] Use clang-tidy version that matches the compiler we use in the CI (#85305) * 0c1dcd675291 [clangd] [HeuristicResolver] Protect against infinite recursion on DependentNameTypes (#83542) * a649e0a6e80f [clang][modules] giving the __stddef_ headers their own modules can cause redeclaration errors with -fbuiltin-headers-in-system-modules (#84127) * 12a3bf351575 workflows: Add workaround for lld failures on MacOS (#85021) (#85110) * 9b3edb592deb release/18.x: [openmp] __kmp_x86_cpuid fix for i386/PIC builds. (#84626) (#85053) * 600f7f2ba28f [clangd] Add clangd 18 release notes (#84436) * bb83f055091c [runtimes] Prefer -fvisibility-global-new-delete=force-hidden (#84917) * 122ba9f10070 [ELF] Eliminate symbols demoted due to /DISCARD/ discarded sections (#85167) * 33c6b2027698 SystemZ release notes for 18.x. (#84560) * 8c6015db5912 [X86][Inline] Skip inline asm in inlining target feature check (#83820) * 38cf35dee880 [Inline] Add test for #67054 (NFC) * c7eb919d2cbe [ValueTracking] Treat phi as underlying obj when not decomposing further (#84339) * b01c3dcf2eb5 [LAA] Add test case for #82665. * 159969b3880b [Release] Install compiler-rt builtins during Phase 1 on AIX (#81485) * 7b61ddefc28a [ArgPromotion] Remove incorrect TranspBlocks set for loads. (#84835) * 25a989ce8bf3 [ArgPromotion] Add test case for #84807. * 2fc8bea42f99 [LLD] [COFF] Set the right alignment for DelayDirectoryChunk (#84697) * fcc33dca02d1 [X86] combineAndShuffleNot - ensure the type is legal before create X86ISD::ANDNP target nodes * 39e3ba8a383e [DSE] Remove malloc from EarliestEscapeInfo before removing. (#84157) * 3f8711fc5e01 [InstCombine] Fix miscompilation in PR83947 (#83993) * 9b9aee16d4dc [Clang][LoongArch] Fix wrong return value type of __iocsrrd_h (#84100) * a9ba36c7e7d7 [Clang][LoongArch] Precommit test for fix wrong return value type of __iocsrrd_h. NFC * d77c5c3830d9 [LoongArch] Make sure that the LoongArchISD::BSTRINS node uses the correct `MSB` value (#84454) * 1de8ea75d9b3 [analyzer] Fix crash on dereference invalid return value of getAdjustedParameterIndex() (#83585) * c14bf0a13d42 [libc++] Enable availability based on the compiler instead of __has_extension (#84065) * 55193c2ba53f [InstCombine] Handle scalable splat in `getFlippedStrictnessPredicateAndConstant` * 78859f118a6b [lld][LoongArch] Support the R_LARCH_{ADD,SUB}_ULEB128 relocation types (#81133) * d8352e93c1c8 [Clang] [Sema] Handle placeholders in '.*' expressions (#83103) * eb9bc02b06cb [RISCV] Fix crash when unrolling loop containing vector instructions (#83384) * c3721c1dcff5 [ELF] Internalize enum * c14879562f46 Unbreak *tf builtins for hexfloat (#82208) * 89d543227a32 [AArch64] Skip over shadow space for ARM64EC entry thunk variadic calls (#80994) * 42c599ab365b [AArch64] Fix generated types for ARM64EC variadic entry thunk targets (#80595) * d7a9810f9c14 [AArch64] Fix variadic tail-calls on ARM64EC (#79774) * ea6c457b8dd2 [LoongArch] Override LoongArchTargetLowering::getExtendForAtomicCmpSwapArg (#83656) * 69d9b15fe872 [TableGen] Fix wrong codegen of BothFusionPredicateWithMCInstPredicate (#83990) * a91b9bd9c750 [OpenMP] fix endianness dependent definitions in OMP headers for MSVC (#84540) * 7cb67530d2e9 ReleaseNotes for LLVM binary utilities (#83751) * 94d8f150ed8b [InstCombine] Fix infinite loop in select equivalence fold (#84036) * 4c36ecbe0e16 [InstCombine] Fix shift calculation in InstCombineCasts (#84027) * e90bfdb4ddce [test] Make two sanitize-coverage tests pass with glibc 2.39+ * bf45c3a07918 [DSE] Delay deleting non-memory-defs until end of DSE. (#83411) * 16ab0812d201 [clang][fat-lto-objects] Make module flags match non-FatLTO pipelines (#83159) * 267d9b1a74c4 Allow .alt_entry symbols to pass the .cfi nesting check (#82268) * 340ba4588c80 MIPS: fix emitDirectiveCpsetup on N32 (#80534) * 439e6f81e772 [libc++][modules] Fixes naming inconsistency. (#83036) * 2ad8fbdbca06 Bump version to 18.1.2 (#84655) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Bump version to 18.1.1Khem Raj2024-03-131-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to clang 18.1 major releaseKhem Raj2024-03-061-8/+9
| | | | | | | | | | LLVM - https://github.com/llvm/llvm-project/blob/release/18.x/llvm/docs/ReleaseNotes.rst Clang - https://github.com/llvm/llvm-project/blob/release/18.x/clang/docs/ReleaseNotes.rst libc++ - https://github.com/llvm/llvm-project/blob/release/18.x/libcxx/docs/ReleaseNotes/18.rst lld - https://github.com/llvm/llvm-project/blob/release/18.x/lld/docs/ReleaseNotes.rst extra - https://github.com/llvm/llvm-project/blob/release/18.x/clang-tools-extra/docs/ReleaseNotes.rst Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 17.0.6Khem Raj2023-12-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bring in following fixes * 6009708b4367 Revert "[runtimes] Add missing test dependencies to check-all (#72955)" * 04caadc61fa2 [Driver] Enable __float128 support on X86 on FreeBSD / NetBSD (#72788) * e919a83f96fe eliminate python SyntaxWarnings from check-all output. * f6c231c15ec8 [clang-format] Fix crashes in AlignArrayOfStructures (#72520) * f74f3e6f58d3 [clang] Fix sorting module headers (#73146) * 7e30ce9528d9 [JITLink][aarch32] Change writeRegister's return type to void. * 03373fd9cb6c [CMake] Support building shared library for NetBSD * 21af3b62b632 workflows/release-binaries: Do a preliminary build to fill ccache (#72576) * 201faeca595e Add RV64 constraint to SRLIW (#69416) * e957e6dcb29d [runtimes] Add missing test dependencies to check-all (#72955) * f8575ff46f89 [clang-format] Fix a bug in aligning comments above PPDirective (#72791) * a71237b9f67f [clangd] Avoid null result in FindRecordTypeAt() * 308c816de5a4 Bump version to 17.0.6 * 442401f7c0ca remove tests from bad merge * 76c7e0e1e2d1 Use the correct namespace for looking up matching operator!= (#68922) * b5cbb35408a3 [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233) * e6de86cb9ef8 Revert "Reland [clang] Canonicalize system headers in dependency file when -canonical-prefixes" (#71697) * bb66d8f8f73b [clang][WebAssembly] Link crt1 even in case of -shared Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 17.0.5Khem Raj2023-11-201-2/+2
| | | | | | | | | | | | | | | | | | | * 98bfdac5ce82 [BranchFolding] Remove dubious assert from operator< (#71639) * 12c6ee8fd204 [GlobalOpt] Cache whether CC is changeable (#71381) * 0a1274224ef8 [libc++] Fix UB in <expected> related to "has value" flag (#68552) (#68733) * 42f8800b720f [clang] fix test PR69717.cpp (#72134) * e666be92b44b [clang] Run test on x86 only * aebee698ef16 [clang] Do not clear FP pragma stack when instantiating functions (#70646) * 529aa6eadb27 [SLP]Fix PR70004: Do not change insert point for reduction gather nodes. * 69b3baf9b87e [DAG] WidenVectorOperand - add basic handling for *_EXTEND_VECTOR_INREG nodes * e7dc53b94212 [Mips] In LowerShift*Parts, xor with bits-1 instead of -1. (#71149) * a6cbdae98272 [clang-format] Correctly annotate keyword operator function name (#66904) * 094cfd14c813 Bump version to 17.0.5 * 05422e1dcf94 [Driver] Fix linking with -lm on Solaris (#65632) * 910748f4ec5a [clang-repl] Fix BUILD_SHARED_LIBS symbols from libclangInterpreter on MinGW (#71393) * 582f0469dae1 [CGExprConstant] stop calling into ConstExprEmitter for Reference type destinations (#70366) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 17.0.4 releaseKhem Raj2023-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following changes/fixes * 309d55140c46 [AArch64][GlobalISel] Fix incorrect ABI when tail call not supported (#70215) * 9477268e4247 [AArch64] Add test for #70207 (NFC) * c2eab59e622c [GVN] Fix use-after-free in load PRE with select available value (#69314) * 586481468a07 [clang-tidy] Fix crash in modernize-use-trailing-return-type (#70709) * 9d0ca259eed6 [OpenMP] Fix building for 32-bit DragonFly, NetBSD, OpenBSD (#70527) * a8046f72bfb3 [OpenMP] record-replay use static-cast (#70516) * 12bbcd627f60 [flang] Add comdats to functions with linkonce linkage (#66516) * bdb1553c7639 [mlir] Add pass to add comdat to all linkonce functions (#65270) * 3347c8441588 Update release note for the fix * f6fb6a996c7f [clang][ExprConst] Fix crash on uninitialized array subobject (#67817) * 8c8abe6b93c0 [RISCV] Correct copyPhysReg for GPRPF64. (#70419) * 615beaec04f9 [SVE] Fix incorrect offset calculation when rewriting an instruction's frame index. (#70315) * bb29e1ead22f [MemCpyOpt] Combine alias metadatas when replacing byval arguments (#70580) * 2b82ec7947fe [OpenMP] Use the more appropriate function to retrieve the thread id on OpenBSD (#65553) * 8909a24d0af1 [libc++] Encode additional ODR-affecting properties in the ABI tag (#69669) * e9dcc15f514a [AArch64] Prevent argument promotion of vector with size > 128 bits (#70034) * 4b7f4152a8d1 [LoongArch] Implement COPY instruction between CFRs (#69300) * fb62a201a199 Revert "[clang-format] Fix align consecutive declarations over function pointers" * 1f6d35b36681 Fix tests for c23 <-> c2x * 030d68ef2cd7 Fix a c23 -> c2x think-o * 2a41d978b4fa [C23] Use thread_local semantics (#70107) * afbe3549af4d [clangd] Disable crashy unchecked-optional-access tidy check (#69427) * 7f790f9a39e3 [ConstraintElim] Don't decompose values wider than 64 bits (#68803) * a1c67ffd0a1f [ConstraintElim] Add test for #68751 (NFC) * ef50a367e3d5 [mlir] Avoid including <alloca.h> on DragonFly * a7101379d75e [LVI][CVP] Treat undef like a full range on abs(x, false) (#68711) * aa03fba83b17 [libcxx] [test] Add a test parameter for disabling memory intensive tests (#68214) * 71f408bc3623 workflows/release-tasks: Fix release note artifact upload (#69522) * 9ab3ce1d7a06 Bump version to 17.0.4 * 880a282a40e3 workflows/release-lit: Pass correct build directory to pypa/gh-action-pypi-publish (#69438) * 8719ee0cb39a workflows/release-lit: Fix dev suffix removal (#69397) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 17.0.3 releaseKhem Raj2023-10-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * 888437e1b600 [asan] Ensure __asan_register_elf_globals is called in COMDAT asan.module_ctor (#67745) * 2e00f4ca4e91 [clang-format][doc] Update the Linux kernel coding style URL * aeb83c3783a6 [clang-format] Fix a serious bug in git-clang-format (#65723) * 268faa377aee [LSan] Mark create_thread_leak.cpp as UNSUPPORTED: darwin. * 491a91e8eea2 [PowerPC] Use zext instead of anyext in custom and combine (#68784) * 8ce6b65c89ad [PowerPC] Add test for #68783 (NFC) * 7a23a5d43c67 [clang-format] Fix a bug in RemoveParentheses: ReturnStatement (#67911) * be4016e52779 [X86] Fix logic for optimizing movmsk(bitcast(shuffle(x))); PR67287 * 496b174053bd [X86] Add tests for incorrectly optimizing out shuffle used in `movmsk`; PR67287 * f50c6382c716 [clang] [MinGW] Explicitly always pass the -fno-use-init-array (#68571) * d10b731adcc8 [LVI][CVP] Treat undef like a full range (#68190) * 37b79e779f44 [X86] combineConcatVectorOps - only concatenate single-use subops * 5a13ce2d6020 Bump version to 17.0.3 * e7b3b94cf500 [clang] Correct behavior of `LLVM_UNREACHABLE_OPTIMIZE=OFF` for `Release` builds (#68284) * f0a687d821c1 [LLD] [COFF] Fix handling of comdat .drectve sections (#68116) * 8a8ade49ff49 workflows/release-binaries: Use more cores to avoid the 6 hour timeout (#67874) * 1090b91a2840 [AArch64] Disable loop alignment for Windows targets (#67894) * 69c8c96691c7 [Sema] Use underlying type of scoped enum for -Wformat diagnostics (#67378) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to llvmorg-17.0.2Khem Raj2023-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * b2417f51dbbd Fix release/export.sh to export runtimes tarball, too (#67404) * 23988a1d82d5 [libc++] Fix `std::pair`'s pair-like constructor's incorrect assumption (#66585) * 33e14ecd6aac [CodeGen] Don't treat thread local globals as large data (#67764) * 03f797b51df6 [workflow] Fix abi checker in llvm-tests. Same fix as in 99fb0af80d16b0ff886f032441392219e1cac452 (#67957) * f6cf58eed973 [clang] [MinGW] Tolerate mingw specific linker options during compilation (#67891) * b338a2830a2c [LLD] [COFF] Restore the current dir as the first entry in the search path (#67857) * 6a5be8e95b43 [LLD] [COFF] Clarify -print-search-path for the empty string element (#67856) * 71be0aafe357 [NFC] clang-format lld/COFF/Driver.cpp and lld/Common/Filesystem.cpp * 0a2d7dae6ef2 [compiler-rt] Reinstate removal of CRT choice flags from CMAKE_*_FLAGS* (#67935) * 098e653a5bed [MemCpyOpt] Merge alias metadatas when replacing arguments (#67539) * 78d201ebc3e2 [MemCpyOpt] Add test for #67539 (NFC) * e718f3240a57 [DependencyScanningFilesystem] Make sure the local/shared cache filename lookups use only absolute paths (#66122) * 45066b9fbc7b [Sema] Fix fixit cast printing inside macros (#66853) * 87ec1f460d0e Work around two more instances of __noinline__ conflicts. (#66138) * 9da5b7a93bca [lldb] Fix building LLDB standlone without framework * c056d720b534 [lldb][NFCI] Change logic to find clang resource dir in standalone builds * cb23434f9e63 [XCOFF] Do not generate the special .ref for zero-length sections (#66805) * 1b55dc9d94c3 Fix buildbot failure caused by D157623 * 28d81a2bfa0a [lld][COFF] Remove incorrect flag from EHcont table * b7eba056b93c workflows/release-tasks: Setup FileCheck and not for release-lit (#66799) * 9678f11b057c [StackColoring] Handle fixed object index * 49e9ee190080 [StackColoring] Handle SEH catch object stack slots conservatively * 17123a60b87c [X86] Add test for #66984 (NFC) * 2839aa915066 [SimpleLoopUnswitch] Fix exponential unswitch * 773f136d6faa [SimpleLoopUnswitch] Fix reversed branch during condition injection * 4362f3e4cf48 [clang] Include `expected-no-diagnostics` in newly-added test (NFC) * 5f1fcc43e592 [clang] Bail out when handling union access with virtual inheritance * 178cf5bc8732 [clang][Diagnostics] Fix wrong line number display (#65238) * 25a150b830f6 Revert "[InlineCost] Check for conflicting target attributes early" Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 17.0.2Khem Raj2023-09-261-2/+2
| | | | | | | | | | * 481358974fb0 [GVN] Also remove phi nodes from VN table (PR65447) * 9f77e96186be [GVN] Invalidate MDA when deduplicating phi nodes * a13a89402f53 Bump version to 17.0.2 * 2c04bdb24677 [SVE] Ensure SVE call operands passed via memory are correctly initialised. (#66070) * 701620d58cdf [SVE] Precommit test to show missing initialisation of call operand. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 17.0.1 release branchKhem Raj2023-09-191-5/+4
| | | | | | | | | | | | | | Drop riscv multilib patch it does not work with clang 17.0 Release Notes are below https://releases.llvm.org/17.0.1/docs/ReleaseNotes.html https://releases.llvm.org/17.0.1/tools/clang/docs/ReleaseNotes.html https://releases.llvm.org/17.0.1/tools/lld/docs/ReleaseNotes.html https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/ReleaseNotes.html https://releases.llvm.org/17.0.1/projects/libcxx/docs/ReleaseNotes.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Bump version to 16.0.6Khem Raj2023-06-161-2/+2
| | | | | | | * 7cbf1a259152 [lld][WebAssembly] Fix stub library parsing with windows line endings * 10c3bdc04183 Bump version to 16.0.6 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to llvmorg-16.0.5 tagKhem Raj2023-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 185b81e034ba [clang] Fix crash when passing a braced-init list to a parentehsized aggregate init expression * 42f2e6efd844 [AA] Fix comparison of AliasResults (PR63019) * 57c54b25929c [GVN] Add test for PR63019 (NFC) * 726af32b5cee [X86][BF16] Fix 2 crashes with vector broadcast * 4fd1b8691da0 [Analysis][LoongArch] Add sign extension for i32 parameters and returns * 74b5a0af52eb [lld][WebAssembly] Initial support for stub libraries * 9c865c230791 [lld][WebAssembly] Implement --why-extract flag from the ELF backend * ad815b672d22 [Clang][Sema] Fix invalid cast when validating SVE types within CheckVariableDeclarationType. * cf85b3e5662d [clang] Fix crash when handling nested immediate invocations * e32cbe930f5b [CMake][AIX] Fixing AIX rpath * b98da4c71edd [CMake] Don't set absolute paths as install runpaths on ELF platforms in llvm_setup_rpath() * 87e99dec85b6 Revert DSE workarounds, this was causing some problems in main. * 84078877549b [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization * 3a69d8111157 [CMake] Set compatibility policy for lists in LLVM-Config.cmake. * 35bd94a4b791 [clang-format] Handle <chrono> ud suffixes in IntegerLiteralSeparator * 9d0a2a41081b [BOLT][CMake] Use correct output paths and passthrough necessary options * 094f77145b95 [Hexagon] Add patterns for bspap/bitreverse for scalar vectors * 07808f6947a9 [llvm-mca] Fix duplicate symbols error * 17ceb9512a52 Reland "[Driver] Support multi /guard: options" * cd932165e595 Revert "[Driver] Support multi /guard: options" * 8c6c56dca37b [X86] Don't crash on instruction prefetch intrinsics without PREFETCHI support. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 16.0.4+Khem Raj2023-05-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings in * 5729e63ac7b4 Fix ArgsAsWritten being null for ConceptSpecializationExpr in certain circumstances when parsing ASTs * 2eb26b66c639 workflows/release-tasks: Remove stray backslash * 812ea0780cfa Bump version to 16.0.5 * ae42196bc493 clangd] Fix builds after 4ddae8b941398a6579d3 * 21f3dfbc2673 [clangd] Fix test failure when it's built with compiler flags unknown by clang * 82b4446f25d4 [Clang][BPF] Type print btf_type_tag properly * e24a8596a81b [SelectionDAG][RISCV] Remove code for handling too small shift type from SimplifyDemandedBits. * 46e68a277715 [Driver] Support multi /guard: options * d5cce0a7781b [cmake] Disable GCC lifetime DSE * 57262bbd32c3 [clang-tidy][test] Add trailing -- to suppress compile_commands.json read * df309b120853 fix stack probe lowering for x86_intrcc * 1a04a5f1cf15 [flang] Fix optional assertion in PFTBuilder * bef3459fcde7 [clang] Fix default initializers being ignored when initializing templated aggregate types * 83c2387c87e6 Reapply "[SystemZ] Bugfix in expansion of memmem operations." * 3c1576cc0c54 Bump version to 16.0.4 * da3cd333bea5 compiler-rt] [test] Mark dfsan tests XFAIL on glibc-2.37 * 0c7669bc2bbf [clang][driver] Pass `-femulated-tls` through to the linker in LTO mode * 753307debc04 [RuntimeDyld] Disable some ppc64 tests on 32-bit architectures. * 93e555fbd794 [InstCombine] Fix buggy `(mul X, Y)` -> `(shl X, Log2(Y))` transform PR62175 * ff9dc9c4fb11 [clang] Fix 2 bugs with parenthesized aggregate initialization * 3cc0a562969b Clear read_fd_set if EINTR received * 5db6c9daf033 [SimplifyCFG] Don't merge invoke if this makes immarg non-constant (PR61265) * 33b41a6564f9 [clang] Fix a crash with parenthesized aggregate initialization and base classes * 7a26555f8d48 [LLD][COFF] Add /inferasanlibs to lld-link as ignored flag * 4676274c9eb2 [LLD][COFF] Print object file name for unsupported directives * e86119670799 [CodeGen][MachineLastInstrsCleanup] fix INLINEASM_BR hazard * ec79a4730428 [CodeGen] precommit machine-latecleanup test Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on release/16.x branchKhem Raj2023-05-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings these set of changes * bd6783b38076 [compiler-rt] Fix invalid triple on ARM build * ccbab5979b7b [compiler-rt] Fix scudo build on ARM * 464bda7750a3 workflows/release-tasks: Always run apt-get update before installing deps * 64a7c127cea8 workflows/release-binaries: Install missing dependencies * 12f17d196eff [docs] Add missing Clang release note. * 6e5368c3967a workflows/release-binaries: Add missing output variable * 57c2b1e9232a Bump version to 16.0.3 * 18ddebe1a1a9 Remove UB-implying metadata when promoting speculative instruction. * dbcd2e9330cd [runtimes][asan] Fix swapcontext interception * ec006fb244ff [nfc][asan] Reformat the file * c4ac4533ea2b [test][asan] Simplify test * f2b0bf320824 llvm-exegesis: Only run target specfic tests on native hosts * b32dda29731d github: Add manual workflow to build and upload release binaries * ef4c1777ee80 [flang] Complex numbers in function arguments on Windows * 840ac8c52fd1 [clang-format] Fix regression with AlignTrailingComments set to true * 70e4662aa499 Revert "[clang-format] Handle object instansiation in if-statements" * bf80902fdd43 [StackProtector] don't check stack protector before calling nounwind functions * 82432ac5cc7d [libunwind][LoongArch] Restore $r1 before $r4 in `jumpto` * ecbc5ca533cd [libunwind][test] Add test to check for unw_resume() * 1c76740cb3b9 [AArch64] Basic target(+crypto) handling * b5aa566a7e53 [Support] Improve Windows performance of buffered raw_ostream * 74e76ab7b6f8 [LinkerWrapper] Switch to add_clang_tool() macro Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Clang: Update to llvmorg-16.0.1 tagKhem Raj2023-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following changes * cd89023f7979 [SPARC] Attempt to fix bug introduced by D142458 * c57b104e95c1 [SPARC] Implement hooks for conditional branch relaxation * c3591d714b49 [Local] Handle size mismatch between pointer/int in copyRangeMetadata() * dae44c8ccc84 [clang-format] Don't annotate left brace of struct as FunctionLBrace * 86b0c6e40502 [SelectionDAG] Correctly reduce BV to shuffle with zero on big endian * b27338656d7d [llvm-rc] Fix the reference to the option for disabling preprocessing in a message * b9857e6711a2 [llvm-rc] Look for "clang-<major>" when locating a suitable preprocessor * 35551022bf04 [llvm-rc] Respect the executable specified in the --preprocessor command * 1fa1bc9c2dff [libc++] Don't try to provide source_location on AppleClang 1403 * 555e0e732d48 [RISCV] Support emulated TLS * 356cb7e0d016 [clang-format] Add MinDigits suboptions to IntegerLiteralSeparator * 6bf663061947 [clang-format] Don't format already formatted integer literals * 7b133944eb89 [RISCV] Allow llvm-objdump to disassemble objects with unrecognised versions of known extensions * 110b4fd2d9cf Revert "[dsymutil] dsymutil produces broken lines info (probably) with LTO on mac" * 1e33c7482b45 [clang][MinGW] Add asan DLL lib before other libs and objects * e59e0b9bd374 ARMFrameLowering.cpp - fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC. * 79e743f16cd9 [ARM] Handle generating SEH unwind info for t2STR_PRE/t2LDR_POST * c163d43e2207 [libc++] Mark a test relying on `typeid` as unsupported without RTTI. * 9ec8096d0d50 [release/16.x][libc++] Revert the bitset sort optimization * 34e907fdba13 [libc++] Fix CI on release/16.x * e16f668f5ed0 [clang-format] Handle '_' in ud-suffix for IntegerLiteralSeparator Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 16.0.1 releaseKhem Raj2023-03-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following bugfixes * 42d1b276f779 Bump version to 16.0.1 * ebafcb86c35c [CMake] Respect variables for specifying host tools even without LLVM_USE_HOST_TOOLS set * 8de1b29840b5 [llvm-objdump] Fix help message for --print-imm-hex * 1ca4b5cfaa70 [sanitizer][win] Change cmdline check to allow double backslashs * 973cea755440 [BOLT] Search section based on relocation symbol * 140c68db4fe4 [libc++] Avoid ODR violations in __exception_guard * a18482ac5089 [BOLT][AArch64] Replace NOP with adrp in AdrRelaxationPass to preserve relative offsets. * c2ef3257df81 [BOLT][NFC] Remove C-style out of bounds array ref * 1c1ab11d6e1e [RISCV][MC] Adjust conditions to emit R_RISCV_ADD*/R_RISCV_SUB* pairs * 34194d85544f [test] Add some interesting cases to MC/RISCV/riscv64-64b-pcrel.s * ee1493c713d6 [test] Improve MC/RISCV/riscv64-64b-pcrel.s to demonstrate regression due to D132262 * 4f243f137859 [test] Improve MC/RISCV/riscv64-64b-pcrel.s * 1f9ea2d3f045 [X86] AMD Genoa (znver4) Scheduler model update * 0b4106274631 [BOLT] Reject symbols pointing to section end * 14ed120b2307 No longer issue static lambda pedantic warning for pre-c++2b compat * 32b8cc7031f0 [BOLT] Fix data reoder for aarch64 * 867c59c2da17 [Coroutines] Pass size parameter for deallocation function when qualified * 6dc69d034845 [libc++][ranges] Fix incorrect integer typedef in `elements_view` test. * 99af55f91f5d [libc++][format] Fix a missing include in tests. * 8a80823218a8 [libunwind][PowerPC] Fix saving/restoring VSX registers on LE systems * c5b23ab2a31a JITLink: Add missing EHFrame NULL terminator on aarch64/ELF * 2352a1b1e917 Reapply [lld][flang] Add exceptions for Flang runtime libraries on MinGW. * 37ea87b88d07 No longer issue pedantic warning about pre-c++2b compat * a70565f7de2e [libunwind][Modules] Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module) * 56edf062bdb6 [dsymutil] dsymutil produces broken lines info (probably) with LTO on mac * bec9a607690b [compiler-rt] Add missing #else clause to fix the build on NetBSD. * 3c0850337bd8 [X86] Fix encoding for ATOMIC_LOGIC_OP * ba22382d514b [X86] Add negative test for D145930 * 2861fa247395 [Driver][FreeBSD] Simplify ARM handling * 1172ed57d823 [analyzer] Fix crashing getSValFromInitListExpr for nested initlists * 830229ee918d [WebAssembly] Add auto-upgrade for renamed intrinsics * b5f9ea64b207 [X86] Support load/store for bf16 in avx * bb6a97c15aa2 [AArch64] fix bug #55005 handle DW_CFA_GNU_NegateRAState * aef3508f89c4 [flang] Fixed uninitialized std::unique_ptr dereference. * fbf716ffe163 [flang] Fixed restrictions checking for OpenACC loop-associated constructs. * 2ecbe73ceeda [flang] Fix dereference of std::optional with no value * 0e227de08e32 [LLDB][ObjectFileELF] Correct the return type of Reloc{Offset,Addend}32 * 7d28293f17fa [LLDB][ObjectFileELF] Correct the return type of RelocOffset64 and RelocAddend64 * 6d3b7679ef21 [LLDB][ObjectFileELF] Support LoongArch64 in ApplyReloctions * a824efcd0158 [BPF] Improve pruning to avoid generate more types in BTF * ab86d147e852 [libunwind][AArch64] Unbreak building with GNU assembler * 526102b37e59 [InstCombine] Canonicalize icmp eq pow2 more thoroughly * 7049d5895700 [InstCombine] Add additional test for icmp eq/ne with bool load (NFC) * b3ea3484c063 [Pipelines] Restore old DAE position in LTO pipeline * 72cb90bd7b62 [PhaseOrdering] Add test for DAE/GlobalDCE interaction (NFC) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 16.0.0Khem Raj2023-03-201-4/+5
| | | | | | | | Changes are described here [1] [1] https://discourse.llvm.org/t/llvm-16-0-0-release/69326 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 15.0.7Khem Raj2023-01-161-2/+2
| | | | | | | | | | | | * 8dfdcc7b7bf6 [libc++] Fix memory leaks when throwing inside std::vector constructors * 939f5a337113 libc++: bring back the unsigned in the return type in wcstoull_l * 948cadd6d424 [RegAllocFast] Handle new debug values for spills * 1095870e8ced [wasm-ld] Define a `__heap_end` symbol marking the end of allocated memory. * 67fd0d2af4bf [TypePromotion] Add truncate in ConvertTruncs when the original truncate type is not extend type * 74d3ba1af5c0 [X86] Don't zero out %eax if both %al and %ah are used * a8af9f679231 Bump version to 15.0.7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 15.0.6Khem Raj2022-12-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Drop backported patches already available in this release This brings following changes * 088f33605d8a [CodeGen][ARM] Fix ARMABIInfo::EmitVAAarg crash with empty record type variadic arg * abcd0341d846 [ELF] Handle GCC collect2 -plugin-opt= on Windows * e6e61e9b2ef7 Revert "Reapply: Add an error message to the default SIGPIPE handler" * 25a36ca5c791 Bump version to 15.0.6 * 154e88af7ec9 Bump version to 15.0.5 * a39989663758 [VectorUtils] Skip interleave members with diff type and alloca sizes. * dc8f6ffc3bf2 [lldb] Get rid of __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS * 392963bb1daf [lldb] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0 * 68799e789fc5 [GlobalOpt] Don't remove inalloca from varargs functions * 11c3a21f8d1b [analyzer] Workaround crash on encountering Class non-type template parameters * 0988addf2680 Link libclangBasic against libatomic when necessary. * 4c3d83810ad7 Link liblldCOFF against libatomic when necessary * d75ae21044ad Set LLVM_ATOMIC_LIB variable for convenient linking against libatomic * 6750e341b076 [TypePromotion] Replace Zext to Truncate for the case src bitwidth is larger * 58ba50a52ede [cmake] Add missing CMakePushCheckState include to FindLibEdit.cmake * 931b6d51d84e Reenable POSIX builtin library functions in gnu2x mode * c8e7a87b1ed6 [CMake] Fix -Wstrict-prototypes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 15.0.4Khem Raj2022-11-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | Brings these changes * 5c68a1cb1231 AMDGPU: Make various vector undefs legal * 80a9fc840b1b [clang][Sema] Fix a clang crash with btf_type_tag * 08bd84e8a635 [SPARC] Make calls to function with big return values work * 9d46557baa84 Take memset_inline into account in analyzeLoadFromClobberingMemInst * dd711a939122 [lld-macho] Canonicalize personality pointers in EH frames * 3010b7e00000 [clang][driver] Remove dynamic gcc-toolset/devtoolset logic * db68723804fd [clangd] Return earlier when snippet is empty * 2d5c43ad4844 [lldb] Automatically unwrap parameter packs in template argument accessors * 1e1c5204c259 [SystemZ] Relase notes for LLVM 15 * dccd0613025a [ELF] Suppress "duplicate symbol" when resolving STB_WEAK and STB_GNU_UNIQUE in different COMDATs * 5834fe66318b [AutoUpgrade] Fix remangling when upgrading struct return type * 5388da13992c Bump version to 15.0.4 * 455e1d765ad6 [InstCombine] Bail out of casting calls when a conversion from/to byval is involved. * ceee53ce564c [SROA] Don't speculate phis with different load user types * 086365be7ce0 [test] Make Linux/sem_init_glibc.cpp robust Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 15.0.3Khem Raj2022-10-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Brings following changes * 4a2c05b05ed0 [ARM] Fix for MVE i128 vector icmp costs. * f6af95770615 [clangd] Block clang-tidy misc-const-correctness check * 687250913265 [libc++] Fix std::function's handling of blocks under Objc ARC * b4840279846e [CMake] Provide Findzstd module * 6fba7854a2f0 [llvm] [test] Add missing canonicalization of LLVM_ENABLE_ZSTD * e3b0721b5b73 [llvm] [lit] Fix use_lld() to respect llvm_shlib_dir * dfef316bb3d6 [clang-tidy] Fix a false positive in readability-simplify-boolean-expr * d35bc70e8251 [AArch64][SVE] Fix AArch64_SVE_VectorCall calling convention * f3c5289e7846 Revert "Recommit "[SCEV] Look through single value PHIs." (take 3)" * 6599b6e5ae9e Fix LLDB build on old Linux kernels (pre-4.1) * 02129eab7d58 [Syntax] avoid using c++17 features on 15.x branch * fc47af8c9140 Bump version to 15.0.3 * 27e075fcfad1 [Syntax] Fix macro-arg handling in TokenBuffer::spelledForExpanded * 359ef0c93240 [clangd] Improve inlay hints of things expanded from macros * bd5722b87b5a [X86] Remove AVX512VP2INTERSECT from Sapphire Rapids. * 73ea64f30411 [clangd] Avoid scanning up to end of file on each comment! * 61fa70903191 [LoopVersioning] Invalidate SCEV for phi if new values are added. * c0748fe6dec5 [clang-tools-extra] [clangd] Respect llvm_shlib_dir in tests Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 15.0.2 release tagKhem Raj2022-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | rebase/forward-port all patches brings these changes * 4bd3f3759259 use LLVM_USE_STATIC_ZSTD * 55d4d86e3885 tweak zstd behavior in cmake and llvm config for better testing * 67ac047d7f46 [clang][DebugInfo] Emit debuginfo for non-constant case value * 541ea23a58e7 [gn build] (manually) port 18b4a8bcf35 more * 5f620d003fda [LV] Update handling of scalable pointer inductions after b73d2c8. * b3669eb4ae60 [LV] Add test for #57912. * 966e71daafea [LV] Convert sve-epilog-vect.ll to use opaque pointers. * ebbb5446b0a2 [Clang] Fix variant crashes from GH58028, GH57370 * 77ff99c10bee [ValueTracking] Fix CannotBeOrderedLessThanZero() for fdiv (PR58046) * 6ba100a83f14 [InstSimplify] Add test for PR58046 (NFC) * bcb9b9fc44e4 [libcxx] Make stdatomic.h work when included from a C source file * d3e48d932023 [docs] improve documentation for misc-const-correctness * 0b41e633a338 [clang-tidy] adjust treating of array-of-pointers when 'AnalyzePointers' is deactivated * 10a54971b0d3 Fix build error in StmtPrinterTest.cpp * e08c165dd67a [clangd] Avoid crash when printing call to string literal operator template * 2eba4dd78e2a [ELF] Rewrite R_RISCV_ALIGN nops when r.addend%4 != 0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Bump to 15.0.2Khem Raj2022-09-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Brings these changes * 451e3b68306d Bump version to 15.0.2 * 9d3635c8675f Exclude check-polly-unittests and check-polly-isl from check-all * a26ef3c19ede [Hexagon] Add defaulted operator= to classes with defaulted copy ctor * f1ad3abf75f0 [MachineCycle][NFC] add a cache for block and its top level cycle * 8d802f78fa8c [libc++] Keep unary_function and binary_function in C++17 for one more release * 5d9fa4d16e0e SPIRV: Fix compilation in NDEBUG. * b73d2c8c720a [LV] Keep track of cost-based ScalarAfterVec in VPWidenPointerInd. * 38b5fa73d585 [LV] Move new epilog-vectorization-widen-inductions.ll to AArch64 dir. * c079a29305bb [LV] Add tests for epilogue vectorization with widened inductions. * d64394b81d6e [libc++] Always query the compiler to find whether a type is always lockfree * c6d2e8bcc033 [docs] Fix build-docs.sh * 43b5b04f27f1 [libcxx] Bump libc++ version to 15.0.1 * d4bada99c069 [CodeGen] Don't zero callee-save registers with zero-call-used-regs (PR57692) * 433f2aaa32bd [lit] Set shlibpath_var on OpenBSD * 063556d02def [clang(d)] Include/Exclude CLDXC options properly * 046d5b917bcd [Libomptarget] Revert changes to AMDGPU plugin destructors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to latest on release/15.xKhem Raj2022-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | Drop objdump patch and git suffix patch as they are applied upstream brings in these changes * 29d395a1b7a8 [llvm-objdump] Change printSymbolVersionDependency to use ELFFile API * 4936d7ce4852 [llvm-objdump][test] Add verneed-invalid.test * 99882208e234 [compiler-rt] Handle non-canonical triples with new runtime lib layout * 8b75172a754e (origin/release/15.x) [NFC] Fix exception in version-check.py script * 3637f345d2ab Bump version to 15.0.1 * c0141f3c300f Downgrade implicit int and implicit function declaration to warning only * 6fe69891d15c [MachO] Don't fold compact unwind entries with LSDA * a5ae700c67ec [MachO] Fix dead-stripping __eh_frame * c51a59d8a947 [libc++][format] Updates feature-test macros. * 92e7ef99303f [LLD][COFF] Fix writing a map file when range extension thunks are inserted * c643956d69b1 [mlir] Fix building CRunnerUtils on OpenBSD with 15.x * 1a5c5e0f67be [DwarfEhPrepare] Assign dummy debug location for inserted _Unwind_Resume calls (PR57469) * 3a08ad21ce89 [Clang] Fix crash in coverage of if consteval. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to clang 15.0.0 releaseKhem Raj2022-09-121-4/+4
| | | | | | | | | | | | | | | | | | Drop upstreamed patches and forward port the remaining to latest sourcess llvm: Fix libzstd detection with zstd cmake files Release Notes [1] [2] [3] [4] [5] [6] [1] https://github.com/llvm/llvm-project/blob/release/15.x/clang/docs/ReleaseNotes.rst [2] https://releases.llvm.org/15.0.0/docs/ReleaseNotes.html [3] https://releases.llvm.org/15.0.0/tools/clang/docs/ReleaseNotes.html [4] https://releases.llvm.org/15.0.0/tools/lld/docs/ReleaseNotes.html [5] https://releases.llvm.org/15.0.0/projects/libcxx/docs/ReleaseNotes.html [6] https://releases.llvm.org/15.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 14.0.6Khem Raj2022-07-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring in following changes * f28c006a5895 Bump version to 14.0.6 * aa586b6f5f55 [clang][AVR] Implement standard calling convention for AVR and AVRTiny * ec42d3c069c7 [AVR] Add more devices * c12386ae247c [MC][AArch64] Enable '+v8a' when nothing specified for MCSubtargetInfo * 4d5dad43b2eb [analyzer] Fix null pointer deref in CastValueChecker * 5b296385298f PR45879: Fix assert when constant evaluating union assignment. * deb573739df9 [clang-tidy] `bugprone-use-after-move`: Fix handling of moves in lambda captures * d0cd5a872f8d [clang-format] Fix SpacesInLineCommentPrefix deleting tokens. * 3cd9df8443f8 [clang-format] Fix PointerAlignment: Right not working with tab indentation. * d350783a0520 [LoopIdiom] Merge TBAA of adjacent stores when creating memset * 198626ad43fd [MIPS] Address instruction selection failure for abs.[sd] * b75bf750fdc2 [LoopIdiom] Fix bailout for aliasing in memcpy transform. * 2e857fe6e390 [ARM] Fix MVE getShuffleCost legalized type check * a517f3439671 [Support] Add missing <cstdint> header to Base64.h * 4d039a7a7189 [Support] Add missing <cstdint> header to Signals.h * 483db58f3eb5 compiler-rt: Allow build without __c11_atomic_fetch_nand * 576e5b39ae4d [clang-tidy] Fix #55134 (regression introduced by 5da7c04) * 99b5eb2d3a61 [Local] Don't remove invoke of non-willreturn function * 885724c60cdc [SimplifyCFG] Add test for invoke of nounwind non-willreturn function (NFC) * 2f0a69c32a4c [OpenMP] Fix partial unrolling off-by-one. * 79147e4722cc [clang][CUDA][Windows] Fix compilation error on Windows with `uint32_t __nvvm_get_smem_pointer` * ec0332328bd6 [clang] Fix some clang->llvm type cache invalidation issues * 10d442522b1a [clang][AVR] Implement standard calling convention for AVR and AVRTiny * 09ec80e16f47 [PowerPC] Treat llvm.fmuladd intrinsic as using CTR Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 14.0.4+Khem Raj2022-05-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings * b950bd2ce7ff Bump version to 14.0.5 * 29f1039a7285 [CUDA][HIP] Externalize kernels with internal linkage * e6de9ed37308 [CUDA][HIP] Externalize kernels in anonymous name space * fecfc8394484 AST: Move __va_list tag back to std conditionally on AArch64. * 725d57c39039 AST: Make getEffectiveDeclContext() a member function of ItaniumMangleContextImpl. NFCI. * 0009cdbd8a3a [clang][NFC] Remove IgnoreLinkageSpecDecls * 53eaee6bf3b3 [clang][NFC] Standard substitution checking cleanup * c81f3d00cbd4 [AVR] Generate 'rcall' instead of 'call' on avr2 and avr25 * 5f6fe6b93e85 [AVR] Fix incorrect calling convention for varargs functions * 42fe7ccbeb44 [SystemZ] Bugfix for symbolic displacements. * f45a01e4a170 [libc++][CI] added XFAIL LIBCXX-AIX-FIXME to new runnning test cases after install locale fileset on AIX OS. * 55e34f3b49b1 [libc++] Always enable the ranges concepts * 5f66e721ec1d [ELF][ARM] Fix unneeded thunk for branches to hidden undefined weak * 3bfae7816bdb Fix crash getting name of a template decl * 76c1c1dd2a01 [OpenMP] Fix library path missing when using OpenMP * 588b95a2b88e [ELF][AArch64] Fix unneeded thunk for branches to hidden undefined weak * e70d79f1e8c0 [ELF] Ignore --no-add-needed * 7a42b2fd5be3 [BOLT] Compact legacy profiles * d6319246f89b [CodeGen] Use ABI alignment for C++ new expressions * daef3113e819 [compiler-rt] Add NO_EXEC_STACK_DIRECTIVE on s390x * c65b0cd2421d [GlobalIsel] Fix fallback if stack protector isn't supported. * cda300eab8dd [Driver][Solaris] -r: imply -nostdlib like GCC * 9827a185b611 [Driver][Ananas] -r: imply -nostdlib like GCC * 087082a828ff [cmake] Increase -fms-compatibility-version in Windows toolchain file * c56415735060 [SystemZ] Bugfix in SystemZTargetLowering::combineINT_TO_FP() * be653f6292e7 [X86] combineX86ShuffleChain - don't fold to truncate(concat(V1,V2)) if it was already a PACK op * 52528806579b [AArch64] Ampere1 does not support MTE * 53433dd0b503 [AArch64] Support for Ampere1 core * c6d56a324ef8 [AArch64] Add native CPU detection for Ampere1 * 60c8e02c9d12 [IPSCCP] Support unfeasible default dests for switch. * 0108630f8bc5 [InstCombine] Fix scalable-vector bitwise select matching * 39e909731a11 [InstCombine] add scalable vector test for logical select; NFC * cd597588217a [HIP] Fix HIP include path * 50d4a84152c6 Fix test for c7ee0b8bda8b32a800bc01e9151b364446a6e1b1 * 869c1d7d0902 [Clang] Fix the guaranteed alignment of memory returned by malloc/new on OpenBSD * 5c4cf01f47da [Driver][Linux] Remove D.Dir+"/../lib" from default search paths for LLVM_ENABLE_RUNTIMES builds * f3f90ec42ae6 [MC][ELF] Improve st_size propagation rule * 9ed930e5cd74 [MC][test] Improve offset.s * 5eb22621bcd2 Bump version to 14.0.4 * 019d4f1ceb96 [libc++abi] Remove XFAIL on arm64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 14.0.3Khem Raj2022-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings these changes * 1f9140064dfb Bump version to 14.0.3 * 2e7e14177186 workflows: Add a test to ensure that the LLVM version is correct * 0e27d08cdeb3 [RISCV] Fix crash for section alignment with .option norvc * a36801750327 [asan] Always skip first object from dl_iterate_phdr * 1f4c7b2a9120 [RISCV] Don't emit fractional VIDs with negative steps * e19be4195b87 [RISCV] Add another test showing incorrect BUILD_VECTOR lowering * 9efcce92b55b [RISCV] Fix lowering of BUILD_VECTORs as VID sequences * 21ce6cfd1d93 [RISCV] Add tests showing incorrect BUILD_VECTOR lowering * 58d5fbe2c20b [llvm-mt] Add support /notify_update * 50c6ba751fa2 [RISCV] Only try LUI+SH*ADD+ADDI for int materialization if LUI+ADDI+SH*ADD failed. * dc30b0d3320d [ELF] --emit-relocs: fix missing STT_SECTION when the first input section is synthetic * 324127d8da95 [libcxx] Add some missing xlocale wrapper functions for OpenBSD * ebf29ba9f0a3 [LV] Remove stray debug dump added in 0d2efbb8b82c. * 0d2efbb8b82c [LV] Always use add to add scalar iv and (startidx + step) for ints. * e7a9fd4f57d6 [LV] Add test case for PR54427. * 9a3e81e1f91f [InstCombine] canonicalize select with signbit test * b83c4a2dc0fb [x86] Fix infinite loop inside DAG combiner with lzcnt feature. * 0fbe860711be [Clang][Fortify] drop inline decls when redeclared * 571c7d8f6dae Reland "[llvm][AArch64] Insert "bti j" after call to setjmp" * 0f56ce0fb207 [DebugInfo][InstrRef] Avoid a crash from mixed variable location modes * e8f03f2057ee Force GHashCell to be 8-byte-aligned. * 09fba23d41f7 [compiler-rt] Implement __clear_cache on FreeBSD/powerpc * 33504b3bbe10 [PowerPC] Allow absolute expressions in relocations * 3400d0293a14 [CMake] Update cache file for Win to ARM Linux cross toolchain builders. NFC. * 6c41c8edb0cc [CMake] Replace `TARGET_TRIPLE` with `TOOLCHAIN_TARGET_TRIPLE` for Win-to-Arm cross toolchain cache file. NFC. * b6dbee34387d [CMake] Update cache file for Win to ARM cross tooolchain. NFC. * 46d19f3a8699 [CMake] Use CMAKE_SYSROOT to build libs for Win to ARM cross tooolchain. NFC. * e11b929a3c97 [LLD][COFF] Fix TypeServerSource matcher with more than one collision * d800180f6bee [lld][COFF] Fix TypeServerSource lookup on GUID collisions * 8c3445ac1c8b [AArch64][LOH] Don't ignore regmasks in bundles by iterating over instrs. * 43ee392dd462 [InstCombine] try to fold low-mask of ashr to lshr * 5ea5e3c01b7b [InstCombine] add tests for low-mask of ashr; NFC * fe8a27acd716 [LV] Handle zero cost loops in selectInterleaveCount. * 2c4d288eae8b [RISCV][NFC] Add missing lit.local.cfg in test/CodeGen/MIR/RISCV/ * d0f27fb44952 [RISCV] Fixing stack offset for RVV object with vararg in stack. * b6e91d4a331e [RISCV] Pre-commit for fixing stack offset for RVV object * 87599bdabbd1 [RISCV] Store/restore RISCVMachineFunctionInfo into MIR YAML file * 5c9eed741dbd [libc++] Make __dir_stream visibility declaration consistent * c62053979489 [AArch64] Fix the upper limit for folded address offsets for COFF * 6697c5bc3a1e [compiler-rt] [scudo] Use -mcrc32 on x86 when available * 8475349bd639 [AARCH64] ssbs should be enabled by default for cortex-x1, cortex-x1c, cortex-a77 * d4e3c50b2bda [libc++] Define `namespace views` in its own detail header. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to latest on 14.x release branchKhem Raj2022-04-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | brings in these fixes * ec13fed5867f [X86] lowerV8I16Shuffle - use explicit SmallVector<SDValue, 4> width to avoid MSVC AVX alignment bug * aaf0c921a54a [clang-repl] Add an accessor to our underlying execution engine * d150523f0776 [AArch64] Use correct calling convention for each vararg * fd98b0f1a6a1 [SelectionDAG] Don't create illegally-typed nodes while constant folding * d53e2603383a [AArch64] Allow .variant_pcs before the symbol is registered * 67a290460c37 [VectorCombine] Insert addrspacecast when crossing address space boundaries * 353068233f21 [ELF] Fix llvm_unreachable failure when COMMON is placed in SHT_PROGBITS output section * 311a622edd31 [Object][test] Fix invalid.test * 1007cb795a3c [llvm-objdump] --private-headers: change errors to warnings for dynamic section dumping * c9ec4902c3e3 [llvm-objdump][test] dos2unix some files * 5b9dd016bec7 [SelectionDAG][RISCV] Make RegsForValue::getCopyToRegs explicitly zero_extend constants. * e9b26b5b2a70 [RISCV] Add test case for miscompile caused by treating ANY_EXTEND of constants as SIGN_EXTEND. * a4681df0202c [libcxx] [test] Avoid spurious test breakage in clang-cl-dll configs with newer CMake * db07d9f098b3 [MC] Fix llvm_unreachable when a STB_GNU_UNIQUE symbol needs a relocation * 22d7bee01a5a [PPCISelLowering] Avoid emitting calls to __multi3, __muloti4 * 23d08271a4b2 Add cmake/ to release tarballs via concatenation * b69247dcbd80 [libcxx] random_device, specify optimal entropy properties for all OS's using arc4random() * 63e7af77ec42 [Clang][NeonEmitter] emit ret decl first for -Wdeclaration-after-statement * f3b89727716a [Driver][OpenBSD] Disable unwind tables on Arm * fe5c24e93754 [docs] Fix typo in tutorial * 99c0f85ef992 Re-commit: Driver: Don't warn on -mbranch-protection when linking * 0547ffef5d39 workflows: Consolidate tests to reduce the number of build jobs * bd8dc965cff1 Bump version to 14.0.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Add env override for libdirKhem Raj2022-03-241-1/+1
| | | | | | | | | | | | | This is useful when using clang cross compiler and the packages rely on llvm-config to detect paths and various attributes of clang/llvm install Update to latest on 14.x as well * 3f43d803382d [libc++] Re-enable workaround for pre-ranges CTAD in std::span * add3ab7f4c8a [libc++] Add workaround to avoid breaking users of <span> when <ranges> are disabled * 329fda39c507 NFC: Mention auto-vec support for SVE in release notes. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 14.0.0 RC4Khem Raj2022-03-131-1/+1
| | | | | | | | | | | | | Brings in these changes * 69ba522c58d0 [Hexagon] Fix crash with shuffle_vector of v128f16 * ac3398a0b003 Revert "[CMake] Include runtimes test suites in check-all" * df2fcea78fb8 Revert "Revert "Revert "[release] Use the Bootstrapping build for building LLVM releases""" * 893b864cb855 Revert "GCC ABI Compatibility: Preserve alignment of non-pod members in packed structs" * a9415df334f0 Revert "Revert "[release] Use the Bootstrapping build for building LLVM releases"" * e54a7bf0c0f1 [CMake] Include runtimes test suites in check-all Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to latest on 14.xKhem Raj2022-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable __int128 for compiler-rt/ppc32 Drop redundant ppc patch which is fixed upstream already Brings these fixes * e879b2bf82ef [libcxxabi] [test] Depend on unwind only if available * 569b773323a3 [libcxx][CI] Set Arm triples to match native clang build's default * f7007c570a21 Lambdas are not necessarily locals. This resolves DR48250. * eb84577cbc23 Revert "[release] Use the Bootstrapping build for building LLVM releases" * d843bde69aab [clang][driver] Fix float128 diagnostics with glibc >= 2.32 * ba9ff030d302 [SimplifyCFG][PhaseOrdering] Defer lowering switch into an integer range comparison and branch until after at least the IPSCCP * da3953fb0315 [NFC][PhaseOrdering] Add some tests from D119839 * 8b51e5ee0a2e [NewPM][Inliner] Make inlined calls to functions in same SCC as callee exponentially expensive * 6a713120502a [llvm] [bindings/OCaml] Remove unused dep on ounit2 * 2de2a2bba998 [LICM][PhaseOrder] Don't speculate in LICM until after running loop rotate * 7d1cd3380add [NFC][PhaseOrdering] Improve test coverage for D119975 * 1f4613675051 [NFC][PhaseOrdering] spurious-peeling.ll: also test -O1/-O2 results * 36bf1a9e628d [NFC][PhaseOrdering] Precommit tests from D119965 * 67555104d23a [MachineSink] Disable if there are any irreducible cycles * 1e4fd59253c6 [CodeGen] Add test for PR53990 (NFC) * bfaed485756a [BOLT][CMAKE] Remove CMake 3.13.4 incompatible parameter * 43b4544023b7 [LLD] [COFF] Order .debug_* sections at the end, to avoid leaving gaps if stripped * e6d2aa9b0f13 [MC][WebAssembly] Fix crash when relocation addend underlows U32 * f6a4df3a0a3d [WebAssembly] Covert llvm/test/MC/WebAssembly/reloc-code.ll to asm. NFC * 9d54fe21c67f [docs] Add RISC-V release notes for LLVM 14 * 1e3d5ccab6b6 Add cmake to source release tarballs * 0205cc086e50 [OpenMP][FIX] Ensure custom state machine works * 0826716786cd [Mips] support "sp" named register * 09546e1b5103 [libc++][doc] Update the release notes. * 8f9f84c6873e [docs] clang/docs/ReleaseNotes.rst: Add blank line * aab33202d239 [docs] PowerPC release notes formatting/grammar fixes * acf67b7a0dfc [docs] Tweak wording of note re: LTO on AIX * ce1e90fc8dba [docs] Add PowerPC release notes for LLVM 14 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 14.0.0-rc2+Khem Raj2022-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 65d53279b1fd RISCV] More correctly ignore Zfinx register classes in getRegForInlineAsmConstraint. * f1e7f848bf3e [clang][tests] Fix ve-toolchain tests with CLANG_DEFAULT_UNWINDLIB * 6d5afef3a7e6 [examples][BuildingAJIT] Use the right layer when adding code in Chapter 3. * 4fde843cd5c0 [ORC] Set ResolverBlockAddr in EPCIndirectionUtils::writeResolverBlock. * a98c04d58930 [Attributor][FIX] Use liveness information of the right function * 261253aa60cc [Clang][docs] Add preprocessor changes to ReleaseNotes. * 967296bfefee [RISCV] Fix inline asm errors in zfinx * 4c9110a5f37b [MIPS] Recognize DT_MIPS_XHASH dynamic table tag * ce3d57ad61db Revert "[BPF] Fix a BTF type pruning bug" * 19149538e9a9 [BPF] Fix a BTF type pruning bug * da33d400682a [SLP] Don't try to vectorize pair with insertelement * 3001b0d51963 [fir] Fix FlangOptimizerTests link on Solaris * 41d4f89e38b7 [X86ISelLowering] permit BlockAddressSDNode "i" constraints for PIC * d245bcf536a3 [Mangler] Mangle aliases to fastcall/vectorcall functions correctly * 0372676278dd [AArch64][SME] Remove term 'streaming-sve' from assembler diagnostics. * f58ab3285021 [Attributor][FIX] Pipe UsedAssumedInformation through more interfaces * 4327d39b15b2 [libcxx] Add an explicit option to build against system-libcxxabi * 3d913ec92308 [llvm] [cmake] Fix finding modern ounit2 * b3e9abd9683b [libunwind] Further fix for 32-bit PowerPC processors without AltiVec * d09f84adff1e [compiler-rt] Force ABI to libcxxabi when building cxustom libc++ * e08bab88c900 [Driver][DragonFly] -r: imply -nostdlib like GCC * 21f87ad9f590 [Driver][NetBSD] -r: imply -nostdlib like GCC * 779871c3515a [mlir-tblgen] Fix non-deterministic generating static verifier in DRR. * 4de8e5698278 [RISCV] Fix parseBareSymbol to not double-parse top-level operators * b29813fbbbaf [OpenMP] Use executable path when searching for lld * 14c432b6a17a [OpenMP] Add search path for llvm-strip * 453361d5ac01 [DSE] Fall back to CFG scan for unreachable terminators. * 03cf88fc94da [DSE] Extract a common PDT check (NFC) * ee0ae47691d3 [RISCV] Avoid infinite loop between DAGCombiner::visitMUL and RISCVISelLowering::transformAddImmMulImm * 61e78c64a38a [libunwind] Only include cet.h if __CET__ defined * 5f5b687460c3 Fix warning introduced by 47eff645d8e873ba531014751c1c06a716a367e9 * 64534d2f406c [InstCombine] Bail out of load-store forwarding for scalable vector types * 4fe93c000b20 [SLP] Fix assert from non-constant index in insertelement * a2398c560144 [Driver][OpenBSD] Enable unwind tables on all architectures * aadd03a2accd [clang][ASTReader] Fix memory leak while reading FriendTemplateDecls * 8a323ada234b [clang][SemaTemplate] Fix a stack use after scope * d61805a8b686 [libc++] Fix double file closing in `std::filesystem::remove_all()`. * f8ca5fabdb54 [ELF][X86] Don't create IBT .plt if there is no PLT entry * 8400036358c8 [libunwind][test] remember_state_leak.pass.sh.s: link with -no-pie * df3182a7df19 [clang] [test] Skip hip-fpie-option.hip if default-pie * cdd8cca0c33c [ELF] Support some absolute/PC-relative relocation types for REL format * e89602b7b2ec [clang-tidy] Fix `readability-suspicious-call-argument` crash for arguments without name-like identifier * 1f7e8b1c6893 [Docs] Added note about LLDB Win/Arm64 binary release * bdbca8f3d0b2 [asan][test] asan_prelink_test.cpp: use -fno-pie -no-pie * 3e10605abcb2 [Driver][test] Remove soon irrelevant pie tests * 2a492dfd6b4e [Driver][test] Make hexagon-toolchain-elf.c work with CLANG_DEFAULT_PIE_ON_LINUX=on * 443f68c280ac [clang][test] Make mips-vector-return.c work with CLANG_DEFAULT_PIE_ON_LINUX=on * 500889f56bce [MIPS] Add `-no-pie` option to the clang driver's tests depend on it Drop 0036-Avoid-infinite-loop-between-DAGCombiner-visitMUL-and.patch which is upstreamed now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest 14.xKhem Raj2022-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport a fix to avoid compiler hangs on RISCV [1] This brings following changes * 2fe5bf57172c [Driver] Use libatomic for 32-bit SPARC atomics support * 46266b3518b6 [mlir][sparse] Rename index_t to index_type again * 03d9a4094763 [AArch64][SVE] Fix selection failure during lowering of shuffle_vector * 8b5b29c4c2c5 Fix incorrect TypeSize->uint64_t cast in InductionDescriptor::isInductionPHI * 8c33ea3ab0ef [SVE][CodeGen] Bail out for scalable vectors in AArch64TargetLowering::ReconstructShuffle * 1362f8bdfce7 [AArch64][SVE] Fix selection failure caused by fp/int convert using non-Neon types * 88f8980a4d95 [AArch64][SVE] Add structured load/store opcodes to getMemOpInfo * cefe6876d6e5 [llvm-objcopy][COFF] Fix section name encoding * 3367c24735c3 [COFF] Move section name encoding into BinaryFormat * 9672d11441fd [MLIR][Presburger] Disambiguate call to floor * 08ad9ae10f32 [InstSimplify] Strip offsets once in computePointerICmp() * 5593af72d0c5 [Attributor][FIX] Heap2Stack needs to use the alloca AS * b3d3501aa128 [OpenMP][FIX] Eliminate race on the IsSPMD global * 9bf8897c84f7 [OpenMP] Add RTL function to externalization RAII * 56ac6dbc7369 [RuntimeDyld] Fix building on OpenBSD * fef110bf8b2b [clangd] Fix building SerializationTests unit test on OpenBSD * 13fdc7afa856 [Attributor][FIX] Reachability needs to account for readonly callees * f3cfaf8bc8eb [MemoryBuiltins][FIX] Adjust index type size properly wrt. AS casts * c06cc1c3a7f8 [libc++] Fix std::__debug_less in c++17. * 7d8e83dab37a [funcattrs] check reachability to improve noreturn * e1b3afbbdef1 [SLP] Simplify indices processing for insertelements * 1e340705f142 [PowerPC] Add default handling for single element vectors, and split/promote vNi1 vectors. * 908c1bae6e7f [RISCV] Fix incorrect extend type in vwmulsu combine. [1] https://github.com/llvmbot/llvm-project/pull/95 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest 14.xKhem Raj2022-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 42a797ef011b [ELF] Fix .strtab corruption when a symbol name is empty * 4dc3cb8e3255 ReleaseNotes: add BOLT subsection * 192d9680c1b1 [RISCV] add the MC layer support of Zfinx extension * 1e348e6042fc [OpenCL] Guard atomic_double with cl_khr_int64_* * 880717cc801d clang-analyzer plugins require LLVM_ENABLE_PLUGINS also * 9bc22aa50780 [OpenMP][CUDA] Refine the logic to determine grid size * ecdd25c86511 [Debuginfod] [Symbolizer] Break debuginfod out of libLLVM. * b0ae8076cf4c [SDAG] enable binop identity constant folds for fmul/fdiv * 6311bae1b424 [X86] Add test cases for fmul/fdiv with select. * 812894f74a8a [runtimes] Move warning messages for FOO_SYSROOT & friends above their default value * c561bf0daa95 [runtimes] Add release note for deprecation of FOO_SYSROOT & friends * 8b10e0a84047 [runtimes] Deprecate FOO_SYSROOT & friends * 89309e187631 [lld] One more formatting fix for the release notes * 9e1f13d14e19 [lld] Fix RST formatting in release notes * 5264342c242b [Docs][OpenCL] Update OpenCL 3.0 status in docs. * e8712accba11 [Docs][OpenCL] Release 14 notes. * b54c95790b8a [Docs] Release 14 notes for SPIR-V in clang. * fc2dbf90d12a [libc++] Mark test as unsupported with apple-clang * edf64474d662 [ELF][PPC64] Fix assertion failure for branches to hidden undefined weak for -no-pie * 2fc17e919f0c [libc++] Temporarily silence failing debug mode test * dfc24b8522ba [libc++][NFC] Work around false positive ODR violations from ASan. * 199e05e34bb8 [libc++] Add missing UNSUPPORTED for the has-no-incomplete-ranges test * 7fdca71be63a [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. * e493f08f8222 [lld-macho] Fill out release notes for 14.x * ea97fc6b564e [OpenMP][FIX] The `llvm.amdgcn.s.barrier` is actually not aligned * 062111fe8073 InferAddressSpaces: Fix assert on inferred source for inttoptr/ptrtoint Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to upcoming clang14 release branchKhem Raj2022-02-161-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 13.0.1-rc3Khem Raj2022-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in this uprev * 75e33f71c2da [X86] combineVectorHADDSUB - remove the broken HOP(x,x) merging code (PR51974) * 6349865a8f37 [CMake] Don't use -fno-semantic-interposition with Clang<=13 * b3dcd156472f [ARM] Define ComplexPatternFuncMutatesDAG * 1f1854ce0fe5 [Driver][test] Fix undefined-libs.cpp when CLANG_DEFAULT_UNWINDLIB is libunwind * fc043d8a256b Revert "[lld][CMake] Add LLD_DEFAULT_NOSTART_STOP_GC" * 5869ea6c6254 [sanitizer] msan build fix on non linux platforms * b9a243d1cac2 (tag: llvmorg-13.0.1-rc2) [Coroutines] Enhance symmetric transfer for constant CmpInst * 9d9efb1f67ff [lld][CMake] Add LLD_DEFAULT_NOSTART_STOP_GC * 52a400d8e4c4 [InlineCost] model calls to llvm.is.constant* more carefully * eaeb7dcf3249 ARM: make FastISel & GISel pass -1 to ADJCALLSTACKUP to signal no callee pop. * eecd0f055baa Have lit preserve SOURCE_DATE_EPOCH * bfb1bd1b9906 [Clang][Sema] Avoid crashing for va_arg expressions with bool argument * 1ac6bb3c4dd4 [Clang][CFG] check children statements of asm goto * 12aaa8553f82 [InstCombine] Remove attributes after hoisting free above null check * 35df3f98639e [DIArgList] Re-unique after changing operands to fix non-determinism * 0f915e755eae [RegAllocFast] Fix nondeterminism in debuginfo generation * 33f7aa65f5d7 [DSE] Fix invalid removal of store instruction * 426297cce9d5 [DSE] Add test case showing bug PR52774. * 0d44201451f0 [MachineOutliner] Don't outline functions starting with PATCHABLE_FUNCTION_ENTER/FENTRL_CALL * 69fcfdedc505 [AArch64][GlobalISel] Fix an crash in RBS due to a new regclass being added. * d31f8cc6884b [AArch64] Avoid crashing on invalid -Wa,-march= values * 67b5bc26bde8 [DebugInfo] Check DIEnumerator bit width when comparing for equality Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest 13.x relaseKhem Raj2021-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings in * 9468a0f95385 [PowerPC] Define XL-compatible macros only for AIX and Linux * ae24102617c9 [X86] Don't add implicit REP prefix to VIA PadLock xstore * c95753ff5c11 [NFC][X86] Add MC tests for all untested VIA PadLock instructions * d9f927f2cfe8 [sanitizer] Disable test incompartible with recert GLIBC * abc0cf92bb14 [sanitizer] Intercept lstat on Linux * b40f07b048c4 [msan] Add stat-family interceptors on Linux * 59289a837b00 [AA] Handle callbr instructions in alias analysis * 5b2990a6ff77 [ELF] #undef PPC to support GCC powerpc32 build * bdd28a2a138f [sanitizer] Don't test __pthread_mutex_lock with GLIBC 2.34 * 2c6c3e4b713b [asan] Fix "no matching function" on GCC * c1b51f098751 [msan] Disabled test failing on new GLIBC * 578e500fe5ba [Sparc] Create an error when `__builtin_longjmp` is used * cd4ebb2918ae [LazyCallGraph] Skip blockaddresses * d4a57c84834c workflows: Update workaround for lldb on Mac OS * d96358a28193 [compiler-rt] Increase kDlsymAllocPoolSize to fix test failures * c446ac46746e [Passes] Fix relative lookup table converter pass * 9fb79e6940b2 [PowerPC] Handle base load with reservation mnemonic * e68f640deecc [ELF][PPC32] Make R_PPC32_PLTREL retain .got * 87ca22cba2fa [Support] Attempt to fix deadlock in ThreadGroup * d904698b53e4 [Analysis] Ignore casts and unary ops for uninitialized values * 5932c004778c [MC][ELF] Fix accepting abbreviated form with Type change * 29276490d13c [MC][ELF] Do not error on parsing .debug_* section directive for MIPS * 724ed207b760 [ELF] Hint -z nostart-stop-gc for __start_ undefined references Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on 13.xKhem Raj2021-12-141-1/+1
| | | | | | | | | Fixes brought in * f3394dc82c20 [libc++] Fix wrongly non-inline basic_string::shrink_to_fit * 52bfd2c1ccd8 [ELF] Do not report undefined weak references in shared libraries Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 13.0.1-rc1Khem Raj2021-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changes in this release * 19b8368225dc [X86][VARARG] Assign MMO earlier to avoid prolog insert point been sunk across VASTART_SAVE_XMM_REGS * 41c85bbb43e4 [X86][NFC] Pre-commit test to show prolog insert problem * 9dc7d6d5e326 [SystemZ] Give the EXRL_Pseudo a size value of 6 bytes. * 32bb956916e3 Bad SLPVectorization shufflevector replacement, resulting in write to wrong memory location * 93edfb23b18b [SLP][NFC]Add a test to show an issue with incorrectly extracted pointers. * 162f3f18c945 [Aarch64] Correct register class for pseudo instructions * 8be24d19fefa [MergeICmps] Don't merge icmps derived from pointers with addressspaces * 9e084f4194e6 Fix building with GCC 12: * d5159b99105d MLIR can't support -Bsymbolic link option, fail at CMake time with a helpful message instead of broken ru ntime * ff2cb6e400c3 [clang] Partially revert d8cd7806310c51af912a647a6ca46de62ff13214. * ed38280d006c [ARM] Use hardware TLS register in Thumb2 mode when -mtp=cp15 is passed * 216200aff268 [libc++] Fix hang in counting_semaphore::try_acquire * 00f64ccb49d9 [libc++] Remove non-atomic "platform" semaphore implementations. * 6cf25deec7d0 [libc++] counting_semaphore should not be default-constructible. * d218ef07a072 Re-apply the fix on DwarfEHPrepare and add a test Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on 13.x releaseKhem Raj2021-11-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bump minor release to 13.0.1 Drop patch to remove git from PACKAGE_VERSION, this is already eliminated from upstream Following changes are part of this change * 08e3a5ccd952 [IntelJITListener] Fix order in JitListener/multiple.ll * 26e2c97bf14c [openmp] [elf_common] Fix linking against LLVM dylib * eb845520ac3c compiler-rt: Fix arch detection for ppc64le * ec4829efcc94 fixes bug #51926 where dangling comma caused overrun * 73daeb3d507f [CUDA] Make sure <string.h> is included with original __THROW defined. * 3ee9a2b63cfd [Support][mips] Remove unnecessary includes from Memory.inc * 47f53eec6485 [Mips] Add glue between CopyFromReg, CopyToReg and RDHWR nodes for TLS * 914355ee793c [CMake] Re-enable use --gc-sections on OpenBSD * 2ac023cd540a [clang] Omit most AttributedStatements from the CFG * 30c05f43b662 [runtimes] Properly handle the sysroot/triple/gcc-toolchain * a797306b7721 [clang-format] [PR51640] - New AfterEnum brace wrapping changes have cause C# behaviour to change * 0a5ae011cd23 [HIP] Fix test rcom-detect.hip * 1a40203f8e94 workflows: Update lldb workaround to latest version of Mac OS X * 8a93745a7121 Remove "In Progress" text from release notes * 449f3049b507 [GHA] Cancel intermediate builds on PRs * cf15ccdeb6d5 Bump version to 13.0.1 * fd1d8c2f04dd [cte] Release notes for clangd-13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 13.0.0-rc4Khem Raj2021-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changes in this set * d7b669b3a303 [clang] don't mark as Elidable CXXConstruct expressions used in NRVO * ee6913cc8317 [analyzer] Add 13.0.0 release notes * d0f0b5b99262 Thread safety analysis: Warn when demoting locks on back edges * 80f974e40f81 [AArch64][GlobalISel] Use ZExtValue for zext(xor) when invert tb(n)z * 5b95eb0b442e [debuginfo-test][cross-project-tests] Release note for new project name * b96ee8f581f6 [X86] combineX86ShuffleChain - ensure we only peek through bitcasts to vectors (PR51858) * dda88bfc06b5 [clang][scan-build] Use cc/c++ instead of gcc/g++ on OpenBSD. * 08642a395f23 Fix syntax error in Clang release notes * 6a5ccb2ec438 [compiler-rt] Implement __clear_cache() on OpenBSD/riscv64 * 6aa054242d60 [LLD] Add required `ppc` target to the test cases. NFC * 8d78ac26f475 [OpenMP]Fix PR51349: Remove AlwaysInline for if regions. * d811546f803c [compiler-rt] Move -fno-omit-frame-pointer check to common config-ix * 89f2c0c63c22 [clang] disable implicit moves when not in CPlusPLus * 635b7871de93 [clang-repl] Install clang-repl * 1f27fe612876 -Wunused-but-set-parameter/-Wunused-but-set-variable Add to the release notes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest 13.xZoltán Böszörményi2021-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following changes up to 13.0.0-rc3 f6b09e394a5f [openmp] Apply code change from D109500 1916a1c578f8 [VPlan] Fix crash caused by not updating all users properly. 2aa67b31faf0 [clang-format] Restrict the special handling for K&R C to C/C++ f1342c749ac0 [LLDB] AArch64 SVE restore SVE registers after expression fbb8b41588be Revert "[AArch64][GlobalISel] Legalize bswap <2 x i16>" 1c198b3032e8 Revert [MC][ELF] Emit separate unique sections for different flags 4728892cd336 [LLD] Support compressed input sections on big-endian targets 77f24308fe78 [X86] Don't clobber EBX in stackprobes 1ff9aa2bfe19 [IR] Handle constant expressions in containsUndefinedElement() 84a3be829686 [SimplifyCFG] performBranchToCommonDestFolding(): require block-closed SSA form for bonus instructions (PR51125) bd8cc8543fdc [OpenCL][Docs] Update OpenCL 3.0 implementation status. 9723fc15338e [OpenCL][Docs] Release 13 notes. f53652203e49 scudo: Only add no-omit-frame-pointer flags when the compiler supports them c8d8248488a3 [clang-format] Improve detection of parameter declarations in K&R C 4ab7fe9228db [clang-format] Distinguish K&R C function definition and attribute 748f09fdd5d6 [clang-format] improve distinction of K&R function definitions vs attributes ffd90ed19988 [clang-format] handle trailing comments in function definition detection b685e13d1130 [clan-format] detect function definitions more conservatively e3ec9058aae5 [MemCpyOpt] Fix a variety of scalable-type crashes 718280c8a2d1 [AMDGPU][OpenMP] Use complex definitions from complex_cmath.h Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
* clang: Update to latest 13.xKhem Raj2021-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop upstreamed patches Brings following changes * Workaround incorre ct types when lowering fixed length gather/scatter * f17d60d62028 Inform pass manager when child loops are deleted * f56129fe78d5 Fine grain control over some sym bol visibility * dc10ff25f54b [AArch64][SME] Fix imm bug in mov vector to tile aliases * b77c810feba0 Revert "[HardwareLoops] Change order of SCEV expression construction for Init LoopCount." * 02dece03f93d [clang] fix transformation of template arguments of 'auto' type constraints * 297e9237db53 [SelectionDAGBuilder] Bugfix in visitInlineAsm() * bc3cbd744d70 [llvm-objdump] Fix 'llvm-objdump -dr' for executables with relocations * 912ad5830cc1 Add llvm-ml to LLVM_TOOLCHAIN_TOOLS (PR50536) * b46abdb7b8fe [clang][Driver] Pick the last --driver-mode in case of multiple ones * 197d9d91aec1 [AArch64][sve] Prevent incorrect function call on fixed width vector * 427df19c4791 Update counter offset to account for binary ids * 09f659449b83 libunwind: add missing break statements in EHABI * a98b397504f8 [SCEV] Fix applyLoopGuards() with range check idiom (PR51760) * 9b3867e959fa [DAGCombine] Prevent the transform of combine for multi-use operand * 49dacda603b3 [tests] precommit tests for D107692 * 8aa8ed9d4b5f Fix for commit d8cd7806310c51af912a647a6ca46de62ff13214. * 2a1d8b5016eb [clang] OpenBSD does not support C11 atomics or threads. * a52b7bf7d123 PR50294: Fix a performance regression from 2c9dbcd. * c30b2813a1d5 [clang] fix error recovery ICE on copy elision when returing invalid variable * 6668e31250ba Support linking against OpenMP runtime on OpenBSD. * be305271bfb6 OpenBSD also needs execinfo * a5e968b66a59 [clang] Allow the OpenBSD driver to link the libclang_rt.profile library. * 181739213aa0 [docs] Update release notes with items related to Flang * c45fa58f171e [libomptarget][amdcgn] Only add opt/llvm-link dependency if TARGET is availab le * 7f3d00c9b49b [libomptarget][amdcgn] Add build dependency for llvm-link and opt * 3b1fa4aef006 [RISCV] Fix reporting of incorrect commutable operand indices * 1c3fcc8ae92e [libc++][NFC] Mark values in gdb pretty print comparison functions as live to prevent values being optimized out. * c8905f1bb304 [Orc] Enable debug object tests only on x86_64 hosts * 7a4a5d413624 [Linker] Support weak symbols in nodeduplicate COMDAT group Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix llvm-link and opt dependency build failure in libompKhem Raj2021-09-021-1/+1
| | | | | | | | | | | Update to latest 13.x as well * 9e41dc71b8d4 [docs] Mention that the legacy PM is deprecated and will be removed after 14 * 73c36a9be558 [OpenMP][FIX] Allow declare variant to work with reference types * bcb43617cb7f [NewPM] Add missing LTO ArgPromotion pass * 703ee975d26a [AlignFromAssume] Bailout w/non-constant alignments (pr51680) Signed-off-by: Khem Raj <raj.khem@gmail.com>