Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[AutoBump] Merge with b851c7f1 (Apr 17) (2) #295

Merged
merged 120 commits into from
Aug 22, 2024

Commits on Apr 16, 2024

  1. [gn] port fe48bf6

    nico committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    d4602a9 View commit details
    Browse the repository at this point in the history
  2. [Clang][Sema] placement new initializes typedef array with correct si…

    …ze (llvm#83124)
    
    When in-place new-ing a local variable of an array of trivial type, the
    generated code calls 'memset' with the correct size of the array,
    earlier it was generating size (squared of the typedef array + size).
    
    The cause: `typedef TYPE TArray[8]; TArray x;` The type of declarator is
    Tarray[8] and in `SemaExprCXX.cpp::BuildCXXNew` we check if it's of
    typedef and of constant size then we get the original type and it works
    fine for non-dependent cases.
    But in case of template we do `TreeTransform.h:TransformCXXNEWExpr` and
    there we again check the allocated type which is TArray[8] and it stays
    that way, so ArraySize=(Tarray[8] type, alloc Tarray[8*type]) so the
    squared size allocation.
    
    ArraySize gets calculated earlier in `TreeTransform.h` so that
    `if(!ArraySize)` condition was failing.
    fix: I changed that condition to `if(ArraySize)`. 
    
    
    Fixes llvm#41441
    mahtohappy authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    c309dc6 View commit details
    Browse the repository at this point in the history
  3. [X86] Add shuffle tests for BLEND(PERMUTE(X),PERMUTE(Y)) patterns

    Some very basic tests for a case where we could fold BLEND(PERMUTE(X),PERMUTE(Y)) -> PERMUTE(BLEND(X,Y))
    
    These assume the permute masks are the same, and "complete" (no undefs/duplicate elements) but we could relax that depending on the blend mask
    RKSimon committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    34013e7 View commit details
    Browse the repository at this point in the history
  4. [SLP] Make sure MinVF is a power-of-2 by using PowerOf2Ceil.

    This should ensure we explore the same VFs as before 6d66db3.
    
    Fixes llvm#88640.
    fhahn committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    b73476c View commit details
    Browse the repository at this point in the history
  5. clang; Try to get windows-seh-async-verify.cpp to pass on mac

    On macOS, file paths start with /Users/..., which clang-cl interptrets
    as the /U switch followed by a preprocessor macro name to undefine.
    
    Put the filename after `--` to prevent this. For consistency, move %s
    to the end of the regular `clang` lines (where this isn't needed) as
    well.
    nico committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    e272c37 View commit details
    Browse the repository at this point in the history
  6. [clang] Introduce SemaOpenMP (llvm#88642)

    This patch moves OpenMP-related entities out of `Sema` to a newly
    created `SemaOpenMP` class. This is a part of the effort to split `Sema`
    up, and follows the recent example of CUDA, OpenACC, SYCL, HLSL.
    Additional context can be found in
    llvm#82217,
    llvm#84184,
    llvm#87634.
    Endilll authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    f69ded0 View commit details
    Browse the repository at this point in the history
  7. [CUDA] Rename SM_32 to SM_32_ to work around AIX headers (llvm#88779)

    Summary:
    AIX headers define this, so we need to work around it. In the future
    this will be removed but for now we should just rename it to avoid these
    issues.
    jhuber6 authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9e7aab9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e7fb49c View commit details
    Browse the repository at this point in the history
  9. Revert "[codegen] Emit missing cleanups for stmt-expr and coro suspen…

    …sions" and related commits (llvm#88884)
    
    The original change caused widespread breakages in msan/ubsan tests and
    causes `use-after-free`. Most likely we are adding more cleanups than
    necessary.
    usx95 authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9d8be24 View commit details
    Browse the repository at this point in the history
  10. [AMDGPU][CodeGen] Improve handling of memcpy for -Os/-Oz compilations (

    …llvm#87632)
    
    We had some instances when LLVM would not inline fixed-count memcpy and
    ended up
    attempting to lower it a a libcall, which would not work on AMDGPU as
    the
    address space doesn't meet the requirement, causing compiler crash.
    
    The patch relaxes the threshold used for -Os/-Oz compilation so we're
    always allowed
    to inline memory copy functions.
    
    This patch basically does the same thing as
    https://reviews.llvm.org/D158226 for
    AMDGPU.
    
    Fix llvm#88497.
    shiltian authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9ce74d6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6ab5927 View commit details
    Browse the repository at this point in the history
  12. [SLP]Fix PR88834: check if unsigned arg can be trunced, being used in…

    … smax/smin intrinsics.
    
    Need to check that unsigned argument can be safely used in smax/smin
    intrinsics by checking if at least single sign bit is cleared, otherwise
    its value may be treated as negative instead of positive.
    alexey-bataev committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    26ebe16 View commit details
    Browse the repository at this point in the history
  13. [VectorCombine][X86] Regenerate shuffle.ll + shuffle-of-casts.ll

    Use v4 of UTC to improve regex matching of argument names to fix a filecheck matching in a future patch
    RKSimon committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    e185978 View commit details
    Browse the repository at this point in the history
  14. [LV][NFCI]Use integer for cost/trip count calculations instead of dou…

    …ble, fix possible UB.
    
    Using fp type in the compiler is not the best idea, here it used with
    the comparison for equal to 0 and may cause undefined behavior in some
    cases.
    
    Reviewers: fhahn
    
    Reviewed By: fhahn
    
    Pull Request: llvm#87241
    alexey-bataev authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    e84b2fb View commit details
    Browse the repository at this point in the history
  15. [VectorCombine][X86] shuffle-of-binops.ll - split off foldShuffleOfBi…

    …nops tests from shuffle.ll
    RKSimon committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    254df2e View commit details
    Browse the repository at this point in the history
  16. [OpenACC] Implement self clause for compute constructs (llvm#88760)

    `self` clauses on compute constructs take an optional condition
    expression. We again limit the implementation to ONLY compute constructs
    to ensure we get all the rules correct for others. However, this one
    will be particularly complicated, as it takes a `var-list` for `update`,
    so when we get to that construct/clause combination, we need to do that
    as well.
    
    This patch also furthers uses of the `OpenACCClauses.def` as it became
    useful while implementing this (as well as some other minor refactors as
    I went through).
    
    Finally, `self` and `if` clauses have an interaction with each other, if
    an `if` clause evaluates to `true`, the `self` clause has no effect.
    While this is intended and can be used 'meaningfully', we are warning on
    this with a very granular warning, so that this edge case will be
    noticed by newer users, but can be disabled trivially.
    erichkeane authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    6133878 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    ac79188 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a0f8191 View commit details
    Browse the repository at this point in the history
  19. [libclc] Fix dependencies between targets

    We need file-level - not target-level - dependencies for these custom
    commands to re-trigger when their dependencies change.
    frasercrmck committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    3d118f9 View commit details
    Browse the repository at this point in the history
  20. [ValueTracking] Restore isKnownNonZero parameter order. (llvm#88873)

    Prior to llvm#85863, the required parameters of llvm::isKnownNonZero were
    Value and DataLayout. After, they are Value, Depth, and SimplifyQuery,
    where SimplifyQuery is implicitly constructible from DataLayout. The
    change to move Depth before SimplifyQuery needed callers to be updated
    unnecessarily, and as commented in llvm#85863, we actually want Depth to be
    after SimplifyQuery anyway so that it can be defaulted and the caller
    does not need to specify it.
    hvdijk authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    60de56c View commit details
    Browse the repository at this point in the history
  21. fix Polynomial.td doc filename (llvm#88900)

    Not sure how best to test this, but I think it fixes the error
    https://github.com/llvm/mlir-www/actions/runs/8699908058/job/23859264085#step:7:1111
    
    Co-authored-by: Jeremy Kun <j2kun@users.noreply.github.com>
    Co-authored-by: Jacques Pienaar <jpienaar@google.com>
    3 people authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    5a34ff1 View commit details
    Browse the repository at this point in the history
  22. [AST][RecoveryExpr] Fix a crash on c89/c90 invalid InitListExpr (llvm…

    …#88008) (llvm#88014)
    
    Use refactored `CheckForConstantInitializer()` to skip checking expr
    with error.
    
    ---------
    
    Co-authored-by: Aaron Ballman <aaron@aaronballman.com>
    danix800 and AaronBallman authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    b632476 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    d2d4a1b View commit details
    Browse the repository at this point in the history
  24. [libc++] Use availability to rely on key functions for bad_expected_a…

    …ccess and bad_function_call (llvm#87390)
    
    This patch uses our availability machinery to allow defining a key
    function for bad_function_call and bad_expected_access at all times but
    only rely on it when we can. This prevents compilers from complaining
    about weak vtables and reduces code bloat and the amount of work done by
    the dynamic linker.
    
    rdar://111917845
    ldionne authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    22629bb View commit details
    Browse the repository at this point in the history
  25. [libc++] Deprecate the C++20 synchronization library before C++20 (ll…

    …vm#86410)
    
    When we initially implemented the C++20 synchronization library, we
    reluctantly accepted for the implementation to be backported to C++03
    upon request from the person who provided the patch. This was when we
    were only starting to have experience with the issues this can create,
    so we flinched. Nowadays, we have a much stricter stance about not
    backporting features to previous standards.
    
    We have recently started fixing several bugs (and near bugs) in our
    implementation of the synchronization library. A recurring theme during
    these reviews has been how difficult to understand the current code is,
    and upon inspection it becomes clear that being able to use a few recent
    C++ features (in particular lambdas) would help a great deal. The code
    would still be pretty intricate, but it would be a lot easier to reason
    about the flow of callbacks through things like
    __thread_poll_with_backoff.
    
    As a result, this patch deprecates support for the synchronization
    library before C++20. In the next release, we can remove that support
    entirely.
    ldionne authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9ddedf0 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    bd28889 View commit details
    Browse the repository at this point in the history
  27. [flang] Fix test after 4078afc

    This tests requires the OpenMP runtime to be present, but the way that
    the lit config detects it fails when "openmp" is added to RUNTIMES
    instead of PROJECTS. This caused the tests to be skipped as unsupported
    in local and upstream tests.
    
    The actual bug was a missing word in the message, and putting the check
    at the wrong line.
    kparzysz committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    1334c03 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    bf1ad1d View commit details
    Browse the repository at this point in the history
  29. Revert "Add asan tests for libsanitizers. (llvm#88349)"

    This reverts commit 82f479b due to bot breakage.
    adrian-prantl committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    f8e2ec1 View commit details
    Browse the repository at this point in the history
  30. [RISCV] Fix obvious copy paste error.

    CASE_VFMA_OPCODE_VV and CASE_VFMA_CHANGE_OPCODE_VV need to match up if we are
    are to avoid "Unexpected opcode" errors, but in CASE_VFMA_CHANGE_OPCODE_VV,
    CASE_VFMA_CHANGE_OPCODE_LMULS_MF2 had mistakenly been used instead of
    CASE_VFMA_CHANGE_OPCODE_LMULS_MF4.
    hvdijk committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8cee94e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    51b42b7 View commit details
    Browse the repository at this point in the history
  32. [libclc] Improve clarity of CMake foreach. NFC.

    Should be a bit easier to read.
    frasercrmck committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9d11128 View commit details
    Browse the repository at this point in the history
  33. [flang][runtime] Create CUDA PTX OBJECT library target for F18 runtim…

    …e CUDA build. (llvm#88821)
    
    This is to experiment with distributing F18 runtime CUDA library
    in the form of a pure PTX library. The change is under
    FLANG_EXPERIMENTAL_CUDA_RUNTIME CMake control.
    vzakhari authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    2704eba View commit details
    Browse the repository at this point in the history
  34. [libc][fenv] Use proxy header (llvm#88787)

    Include types `fexcept_t` and `fenv_t ` from corresponding proxy
    headers, as they are available since
    llvm#88467.
    robincaloudis authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    a79783d View commit details
    Browse the repository at this point in the history
  35. [libc][fenv] Remove unnecessary dependencies (llvm#88788)

    Remove the fenv macro dependency from the CMake files as the underlying targets
    do not make use of it. Note that we do not have to worry about
    [corresponding Bazel targets](https://github.com/llvm/llvm-project/blob/main/utils/bazel/llvm-project-overlay/libc/BUILD.bazel#L1138-L1288),
    as they look good.
    robincaloudis authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    38895e6 View commit details
    Browse the repository at this point in the history
  36. [RemoveDI] Add support for debug records to debugify (llvm#87383)

    This patch changes debugify to support debug variable records, and
    subsequently to no longer convert modules automatically to intrinsics
    when entering debugify.
    SLTozer authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    1c6b0f7 View commit details
    Browse the repository at this point in the history
  37. [flang,test] Add -resource-dir option to msvc-dependent-lib-flags.f90 (

    …llvm#88894)
    
    For aarch64-windows-msvc, clang_rt.builtins is placed in windows subdir
    instead of triple subdir, and the name of clang_rt.builtins is
    clang_rt.builtins-aarch64.lib.
    
    So let's use `-resource-dir` option to fix test failure.
    
    Please see talk for PR#87866.
    wzssyqa authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    45eabd1 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    22e6bf7 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    b566810 View commit details
    Browse the repository at this point in the history
  40. [OpenMP] Use a memory fence before incrementing the dispatch buffer i…

    …ndex (llvm#87995)
    
    This patch uses a memory fence in function `__kmp_dispatch_next()` to
    flush pending memory write invalidates before incrementing the
    `volatile` variable `buffer_index` to fix intermittent time-outs of
    OpenMP runtime LIT test cases `env/kmp_set_dispatch_buf.c` and
    `worksharing/for/kmp_set_dispatch_buf.c`, noting that the same is needed
    for incrementing `buffer_index` in function `__kmpc_next_section()`
    (line 2600 of `kmp_dispatch.cpp`).
    xingxue-ibm authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    454d449 View commit details
    Browse the repository at this point in the history
  41. [OpenMP][test][AIX] Make 64 the max number of threads for capacity te…

    …sts in AIX 32-bit (llvm#88739)
    
    This patch makes 64 the max number of threads for 2 capacity tests in
    AIX 32-bit mode rather than `XFAIL`ing them.
    xingxue-ibm authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    22bba85 View commit details
    Browse the repository at this point in the history
  42. [memprof] Use CSId to construct MemProfRecord (llvm#88362)

    We are in the process of referring to call stacks with CallStackId in
    IndexedMemProfRecord and IndexedAllocationInfo instead of holding call
    stacks inline (both in memory and the serialized format).  Doing so
    deduplicates call stacks and reduces the MemProf profile file size.
    
    Before we can eliminate the two fields holding call stacks inline:
    
    - IndexedAllocationInfo::CallStack
    - IndexedMemProfRecord::CallSites
    
    we need to eliminate all the read operations on them.
    
    This patch is a step toward that direction.  Specifically, we
    eliminate the read operations in the context of MemProfReader and
    RawMemProfReader.  A subsequent patch will eliminate the read
    operations during the serialization.
    kazutakahirata authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8137bd9 View commit details
    Browse the repository at this point in the history
  43. [MLGO] Use double comparison facilities for reg alloc scoring tests (l…

    …lvm#88862)
    
    This patch switches from using direct equality (ASSERT_EQ) to the
    floating point comparison facilities (ASSERT_DOUBLE_EQ) within google
    test to avoid weird floating point problems. There is at least one
    downstream that maintains a patch for issues cropping up from the direct
    equality.
    
    
    https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/llvm17/allocscore.patch
    boomanaiden154 authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8cd8ebe View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    7505452 View commit details
    Browse the repository at this point in the history
  45. [RISCV] Avoid matching 3/5/9 * 2^N as 2^N + 2/4/8 (e.g. 24) (llvm#88937)

    The former is better as a zero extend can be folded into the sll,
    whereas the later currently produces a seperate zext.w due to bad
    interactions with other combines.
    preames authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    184ba03 View commit details
    Browse the repository at this point in the history
  46. Improve stack usage to increase recursive initialization depth (llvm#…

    …88546)
    
    We were crashing due to stack exhaustion on rather reasonable C++
    template code. After some investigation, I found that we have a
    stack-allocated object that was huge: `InitializationSequence` was 7016
    bytes. This caused an overflow with deep call stacks in initialization
    code.
    
    With these change, `InitializationSequence` is now 248 bytes.
    
    With the original code, testing RelWithDebInfo on Windows 10, all the
    tests in SemaCXX took about 6s 800ms. The max template depth I could
    reach on my machine using the code in the issue was 708. After that, I
    would get `-Wstack-exhausted` warnings until crashing at 976
    instantiations.
    
    With these changes on the same machine, all the tests in SemaCXX took
    about 6s 500ms. The max template depth I could reach was 1492. After
    that, I would get `-Wstack-exhausted` warnings until crashing at 2898
    instantiations.
    
    This improves the behavior of llvm#88330 but there's still an outstanding
    question of why we run out of stack space and crash in some
    circumstances before we're able to issue a diagnostic about stack space
    exhaustion.
    AaronBallman authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    4082a75 View commit details
    Browse the repository at this point in the history
  47. [clang] Migrate DR tests to static_assert (llvm#88611)

    This patch touches a number of tests that run in C++98 mode that have
    been using array size as a context that requires a constant expression,
    replacing it with a `static_assert` backported via a macro. This reduces
    noise in expected directives that comes from diagnostics around VLAs.
    
    This patch also showcases that DR tests would benefit from folding in
    constant expressions in C++98 mode, but I'm not sure it's even on the
    table. If it is, I'd be happy to prepare a PR for that, and rebase this
    PR on top of it.
    
    CC @AaronBallman
    Endilll authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    aefff77 View commit details
    Browse the repository at this point in the history
  48. [RISCV] Strength reduce mul by 2^n + 2/4/8 + 1 (llvm#88911)

    With zba, we can expand this to (add (shl X, C1), (shXadd X, X)).
    
    Note that this is our first expansion to a three instruction sequence. I
    believe this to general be a reasonable tradeoff for most architectures,
    but we may want to (someday) consider a tuning flag here.
    
    I plan to support 2^n + (2/4/8 + 1) eventually as well, but that comes
    behind 2^N - 2^M. Both are also three instruction sequences.
    
    ---------
    
    Co-authored-by: Min-Yih Hsu <min@myhsu.dev>
    preames and mshockwave authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    6b83fe5 View commit details
    Browse the repository at this point in the history
  49. [CodeGen,test] Test llvm-libc style alias attribute with UsingShadowDecl

    The pattern is quite involved and deserves a specific codegen test.
    This test would catch the bug in the first attempt of llvm#87130
    MaskRay committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    1c2afba View commit details
    Browse the repository at this point in the history
  50. [NFC][libc++][TZDB] Refactors argument order. (llvm#85781)

    Putting the output reference argument first looks more sensible.
    mordante authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    5462b27 View commit details
    Browse the repository at this point in the history
  51. [NFC][libc++] Moves ios_base's forward declaration. (llvm#88027)

    According to our synopsis it belonged to ios_fwd. This is not true in
    the C++11 version of the Standard, I did not validate against C++98.
    
    Moving this to ios's forward where it's declared in the standard allows
    removing a module quirk. An earlier removal of std::vectors forward
    declaration allows to remove all quirks for the iosfwd module part.
    
    Since iosfwd includes __fwd/ios.h this does not change the required
    includes.
    mordante authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    a75c9d0 View commit details
    Browse the repository at this point in the history
  52. [libc++][modules] Removes some validation quirks. (llvm#88031)

    Recent unrelated header cleanups caused these quirks to become obsolete.
    mordante authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9cd3e92 View commit details
    Browse the repository at this point in the history
  53. [libc++] Removes deprecated _LIBCPP_ENABLE_<VERSION>_REMOVED_FEATURES…

    … macros (llvm#88548)
    
    We marked those macros as deprecated in the last release with the intent
    of
    removing them in LLVM 19. This commit performs the removal.
    mordante authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    41a8305 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    388da6a View commit details
    Browse the repository at this point in the history
  55. [libc++][doc] Documents -DLIBCXX_INSTALL_MODULES=ON. (llvm#88547)

    Co-authored-by: Louis Dionne <ldionne.2@gmail.com>
    mordante and ldionne authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8e0a4a8 View commit details
    Browse the repository at this point in the history
  56. [gn] port 22629bb

    nico committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    002297b View commit details
    Browse the repository at this point in the history
  57. [mlir][sparse] introduce sparse_tensor.iterate operation (llvm#88807)

    A `sparse_tensor.iterate` iterates over a sparse iteration space
    extracted from `sparse_tensor.extract_iteration_space` operation
    introduced in llvm#88554.
    
    *DO NOT MERGE* before llvm#88554
    Peiming Liu authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8debcf0 View commit details
    Browse the repository at this point in the history
  58. Revert "[mlir][sparse] introduce sparse_tensor.iterate operation" (ll…

    …vm#88953)
    
    Reverts llvm#88807 (merged by mistake)
    Peiming Liu authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    b955653 View commit details
    Browse the repository at this point in the history
  59. [mlir][sparse] introduce sparse_tensor.extract_iteration_space oper…

    …ation. (llvm#88554)
    
    A `sparse_tensor.extract_space %tensor at %iterator` extracts a *sparse*
    iteration space defined `%tensor`, the operation to traverse the
    iteration space will be introduced in following PRs.
    Peiming Liu authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    481bd5d View commit details
    Browse the repository at this point in the history
  60. [InstCombine] Update vector_reduce_and tests to actually use `llvm.…

    …vector.reduce.and`; NFC
    goldsteinn committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    edb711d View commit details
    Browse the repository at this point in the history
  61. [Clang][Sema] placement new initializes typedef array with correct si…

    …ze (llvm#88902)
    
    Build Failure Fix
    Fixes build failures due to llvm#83124
    mahtohappy authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    5c6af60 View commit details
    Browse the repository at this point in the history
  62. [MLIR][XeGPU] Add XeGPU scattered ops (llvm#86594)

    - Extended TensorDescAttr with scattered attribute
    - Add scattered ops: CreateDescOp, PrefetchOp, LoadGatherOp,
    StoreScatterOp, UpdateOffsetOp
    - Add a block op: UpdateNdOffsetOp
    
    ---------
    
    Co-authored-by: Mehdi Amini <joker.eph@gmail.com>
    Co-authored-by: Adam Siemieniuk <adam.siemieniuk@intel.com>
    3 people authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    b01879e View commit details
    Browse the repository at this point in the history
  63. [clang][dataflow] Expose getReferencedDecls and relocate free functio…

    …ns. (llvm#88754)
    
    Moves free functions from DataflowEnvironment.h/cc and
    DataflowAnalysisContext.h/cc to RecordOps and a new ASTOps and exposes
    them as needed for current use and to expose getReferencedDecls for
    out-of-tree use.
    
    Minimal change in functionality, only to modify the return type of
    getReferenceDecls to return the collected decls instead of using output
    params.
    
    Tested with `ninja check-clang-tooling`.
    bazuzi authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9ec8c96 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    bbd64c4 View commit details
    Browse the repository at this point in the history
  65. [libc++][chrono] Disables a test.

    This tests seems problematic on different platforms. There is still a
    test that ensures coverage, but in an automatic fashion. This test needs
    to be investigated.
    mordante committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8885813 View commit details
    Browse the repository at this point in the history
  66. [Sema] Mark alias/ifunc targets used and consider mangled names

    https://reviews.llvm.org/D54188 marked "alias" targets as used in C to
    fix -Wunused false positives. This patch extends the approach to handle
    mangled names to support global scope names in C++ and the
    `overloadable` attribute in C.
    
    (Note: we should skip `UsingShadowDecl`, which would trigger an
    assertion failure in `ItaniumMangleContextImpl::mangleCXXName`.
    See regression test added by commit 1c2afba.)
    
    In addition, we mark ifunc targets as used to fix llvm#63957 (temporarily
    used by xz; ifunc was removed by
    tukaani-project/xz@689ae24)
    
    While our approach has false negatives for namespace scope names, the
    majority of alias/ifunc C++ uses (global scope with no overloads) are
    handled.
    
    Note: The following function with internal linkage but C language
    linkage type is mangled in Clang but not in GCC. This inconsistency
    makes alias/ifunc difficult to use in C++ with portability (llvm#88593).
    ```
    extern "C" {
    static void f0() {}
    // GCC: void g0() __attribute__((alias("_ZL2f0v")));
    // Clang: void g0() __attribute__((alias("f0")));
    }
    ```
    
    Pull Request: llvm#87130
    MaskRay committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    0665669 View commit details
    Browse the repository at this point in the history
  67. [memprof] Add another constructor to MemProfReader (llvm#88952)

    This patch enables users of MemProfReader to directly supply mappings
    from CallStackId to actual call stacks.
    
    Once the users of the current constructor without CSIdMap switch to
    the new constructor, we'll have fewer users of:
    
    - IndexedAllocationInfo::CallStack
    - IndexedMemProfRecord::CallSites
    
    bringing us one step closer to the removal of these fields in favor
    of:
    
    - IndexedAllocationInfo::CSId
    - IndexedMemProfRecord::CallSiteIds
    kazutakahirata authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    5422eb0 View commit details
    Browse the repository at this point in the history
  68. [SLP]Keep externally used GEPs as GEPs, if possible instead of extrac…

    …telement.
    
    If the vectorized GEP instruction can be still kept as a scalar GEP,
    better to keep it as scalar instead of extractelement. In many cases it
    is more profitable.
    
    Metric: size..text
    
    Program                                                                          size..text
                                                                                     results     results0    diff
                            test-suite :: SingleSource/Benchmarks/Misc/oourafft.test    18911.00    19695.00  4.1%
                       test-suite :: SingleSource/Benchmarks/Misc-C++-EH/spirit.test    59987.00    60707.00  1.2%
           test-suite :: External/SPEC/CFP2017speed/638.imagick_s/638.imagick_s.test  1392209.00  1392753.00  0.0%
            test-suite :: External/SPEC/CFP2017rate/538.imagick_r/538.imagick_r.test  1392209.00  1392753.00  0.0%
               test-suite :: External/SPEC/CINT2006/400.perlbench/400.perlbench.test  1087996.00  1088236.00  0.0%
                             test-suite :: MultiSource/Benchmarks/Bullet/bullet.test   309310.00   309342.00  0.0%
                 test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test   664661.00   664693.00  0.0%
                test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test   664661.00   664693.00  0.0%
            test-suite :: External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 12354636.00 12354908.00  0.0%
                      test-suite :: External/SPEC/CFP2006/453.povray/453.povray.test  1152748.00  1152716.00 -0.0%
                           test-suite :: MultiSource/Applications/oggenc/oggenc.test   191787.00   191771.00 -0.0%
                         test-suite :: SingleSource/UnitTests/matrix-types-spec.test   480796.00   480476.00 -0.1%
    
    Misc/oourafft - Extra code gets vectorized
    Misc-C++-EH/spirit - same
    CFP2017speed/638.imagick_s
    CFP2017rate/538.imagick_r - same, extra code gets vectorized
    CINT2006/400.perlbench - some extra 4 x ptr stores vectorized
    Bullet/bullet - extra 4 x ptr store vectorized
    CINT2017rate/525.x264_r
    CINT2017speed/625.x264_s - same
    CFP2017rate/526.blender_r - extra 8 x float stores (several), some extra
    4 x ptr stores
    CFP2006/453.povray - 2 x double loads/stores replaced by 4 x double
    loads/stores
    Applications/oggenc - extra code is vectorized
    UnitTests/matrix-types-spec - extra code gets vectorized
    
    Reviewers: RKSimon
    
    Reviewed By: RKSimon
    
    Pull Request: llvm#88877
    alexey-bataev authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    c7657cf View commit details
    Browse the repository at this point in the history
  69. [SLP]Attempt to vectorize long stores, if short one failed.

    We can try to vectorize long store sequences, if short ones were
    unsuccessful because of the non-profitable vectorization. It should not
    increase compile time significantly (stores are sorted already,
    complexity is n x log n), but vectorize extra code.
    
    Metric: size..text
    
    Program                                                                         size..text
                                                                                    results     results0    diff
             test-suite :: External/SPEC/CINT2006/400.perlbench/400.perlbench.test  1088012.00  1088236.00  0.0%
                      test-suite :: SingleSource/UnitTests/matrix-types-spec.test   480396.00   480476.00  0.0%
              test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test   664613.00   664661.00  0.0%
             test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test   664613.00   664661.00  0.0%
            test-suite :: External/SPEC/CFP2017rate/510.parest_r/510.parest_r.test  2041105.00  2040961.00 -0.0%
                     test-suite :: MultiSource/Applications/JM/lencod/lencod.test   836563.00   836387.00 -0.0%
                     test-suite :: MultiSource/Benchmarks/7zip/7zip-benchmark.test  1035100.00  1032140.00 -0.3%
    
    In all benchmarks extra code gets vectorized
    
    Reviewers: RKSimon
    
    Reviewed By: RKSimon
    
    Pull Request: llvm#88563
    alexey-bataev authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    7d4e8c1 View commit details
    Browse the repository at this point in the history
  70. [gn build] Port 9ec8c96

    llvmgnsyncbot committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    3eff86f View commit details
    Browse the repository at this point in the history
  71. [clang][SPIR-V] Set AS for the SPIR-V logical triple (llvm#88939)

    This was missed in llvm#88455, causing most of the .hlsl to SPIR-V tests to
    fail (such as clang\test\Driver\hlsl-lang-targets-spirv.hlsl)
    bogner authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    b0ddbfb View commit details
    Browse the repository at this point in the history
  72. [mlir] Fix a warning about an extraneous semicolon

    This patch fixes:
    
      mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp:58:2: error: extra ';'
      outside of a function is incompatible with C++98
      [-Werror,-Wc++98-compat-extra-semi]
    kazutakahirata committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    c9731a3 View commit details
    Browse the repository at this point in the history
  73. Fix test from llvm#83124 and llvm#88902

    This just replaces an '#include<new>' with a declaration of array
    placement new.
    erichkeane committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    0a789ea View commit details
    Browse the repository at this point in the history
  74. [Libomptarget] Rework Record & Replay to be a plugin member (llvm#88928)

    Summary:
    Previously, the R&R support was global state initialized by a global
    constructor. This is bad because it prevents us from adequately
    constraining the lifetime of the library. Additionally, we want to
    minimize the amount of global state floating around.
    
    This patch moves the R&R support into a plugin member like everything
    else. This means there will be multiple copies of the R&R implementation
    floating around, but this was already the case given the fact that we
    currently handle everything with dynamic libraries.
    jhuber6 authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9a0a28f View commit details
    Browse the repository at this point in the history
  75. specify dialect in polynomial docs (llvm#88933)

    I figured out how to test this with `make mlir-doc doxygen-mlir`
    j2kun authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    ed7038e View commit details
    Browse the repository at this point in the history
  76. Fix UPCAddressofArraySubscriptGadget::getClaimedVarUseSites() (llvm#8…

    …8406)
    
    UPCAddressofArraySubscriptGadget::getClaimedVarUseSites should skip
    parentheses when accessing the DeclRefExpr, otherwise a crash happens
    with parenthesized references.
    juanvazquez authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    13ea36d View commit details
    Browse the repository at this point in the history
  77. [llvm] Drop unaligned from calls to readNext (NFC) (llvm#88841)

    Now readNext defaults to unaligned accesses.  This patch drops
    unaligned to improve readability.
    kazutakahirata authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    f430e37 View commit details
    Browse the repository at this point in the history
  78. [X86] Change how we treat functions with explicit sections as small/l…

    …arge (llvm#88172)
    
    Following llvm#78348, we should treat functions with an explicit section as
    small, unless the section name is (or has the prefix) ".ltext".
    
    Clang emits global initializers into a ".text.startup" section on Linux.
    If we mix small/medium code model object files with large code model
    object files, we'll end up mixing sections with and without the large
    section flag.
    
    Reland of llvm#87838 with a check for non-ELF platforms in
    TargetMachine::isLargeGlobalValue(), otherwise MCJIT on Windows tests
    fail.
    aeubanks authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    281d716 View commit details
    Browse the repository at this point in the history
  79. update_test_checks: pre-commit a new test

    The test shows that name preservation doesn't work properly when
    --include-generated-funcs is used.
    nhaehnle committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    191be2a View commit details
    Browse the repository at this point in the history
  80. update_test_checks: add new test

    This test is meant to demonstrate an upcoming change that replaces basic
    block labels by FileCheck patterns.
    nhaehnle committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    e770249 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    377a276 View commit details
    Browse the repository at this point in the history
  82. [flang][cuda] Add fir.deallocate operation (llvm#88839)

    Add the fir.cuda_deallocate operation that perform device deallocation
    of data hold by a descriptor. This will replace the call to
    AllocatableDeallocate from the runtime.
    
    This is a companion operation to the one added in llvm#88586
    clementval authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9ec6c5d View commit details
    Browse the repository at this point in the history
  83. [VPlan] Don't mark VPBlendRecipe as phi-like.

    VPBlendRecipes don't get lowered to phis and usually do not appear at
    the beginning of blocks, due to their masks appearing before them.
    
    This effectively relaxes an over-eager verifier message.
    
    Fixes llvm#88297.
    Fixes llvm#88804.
    fhahn committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    34777c2 View commit details
    Browse the repository at this point in the history
  84. [InstCombine] Add canonicalization of sitofp -> uitofp nneg

    This is essentially the same as llvm#82404 but has the `nneg` flag which
    allows the backend to reliably undo the transform.
    
    Closes llvm#88299
    goldsteinn committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    b6bd41d View commit details
    Browse the repository at this point in the history
  85. [RISCV] Enable mul strength reduction for XTheadBa

    This vendor extension has the same shift_add as zba, and most of the same
    patterns are duplicated.  Enable it here too so the configurations don't
    diverge.
    preames committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    885b8d9 View commit details
    Browse the repository at this point in the history
  86. Revert "Reapply "[LV] Improve AnyOf reduction codegen. (llvm#78304)""

    This reverts commit c6e38b9.
    
    Causes miscompiles, see comments on llvm#78304.
    aeubanks committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    c6e0162 View commit details
    Browse the repository at this point in the history
  87. [ValueTracking] Add tests for computeKnownFPClass of `llvm.vector.r…

    …educe.{fmin,fmax,fmaximum,fminimum}`; NFC
    goldsteinn committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    266b2a2 View commit details
    Browse the repository at this point in the history
  88. [ValueTracking] Implement computeKnownFPClass for `llvm.vector.redu…

    …ce.{fmin,fmax,fmaximum,fminimum}`
    
    Closes llvm#88408
    goldsteinn committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9eeae44 View commit details
    Browse the repository at this point in the history
  89. Clang Release Notes: Fix reST formatting

    Fix a use of inline code markup to have a non-word character after the ending delimiter as required by reST.
    hubert-reinterpretcast authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    d19bd05 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    3074060 View commit details
    Browse the repository at this point in the history
  91. [libc][NFC] fix typo in fenv type proxy headers (llvm#88982)

    libc.incude.fenv ->
    libc.include.fenv
    michaelrj-google authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    b1385db View commit details
    Browse the repository at this point in the history
  92. [mlir][sparse][NFC] switching to using let argments/results in td f…

    …iles (llvm#88994)
    
    followed the same style used in "TensorOps.td".
    Peiming Liu authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8aa061f View commit details
    Browse the repository at this point in the history
  93. [RISCV] Re-separate unaligned scalar and vector memory features in th…

    …e backend. (llvm#88954)
    
    This is largely a revert of commit
    e817966.
    
    As llvm#88029 shows, there exists hardware that only supports unaligned
    scalar.
    
    I'm leaving how this gets exposed to the clang interface to a future
    patch.
    topperc authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9067070 View commit details
    Browse the repository at this point in the history
  94. Add asan tests for libsanitizers. (llvm#88349) (llvm#88962)

    The previous patch was reverted because the test fails to build when
    libsanitizers is not present. This patch catches the BuildError
    exception and skips the test appropriately.
    
    This patch tests LLDB integration with libsanitizers for ASan.
    
    rdar://111856681
    usama54321 authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    988ffd0 View commit details
    Browse the repository at this point in the history
  95. [X86] Fix instr desc of CFCMOV's 'mr' variants

    - With the memory operand as the destination, 'mr' variants of CFCMOV
      works like STORE and their memory operands should be input operands
      instead of output ones.
    
    Reviewers: XinWang10, arsenm
    
    Pull Request: llvm#88970
    darkbuck authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    50a3717 View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    1bc0921 View commit details
    Browse the repository at this point in the history
  97. Update foldFMulReassoc to respect absent fast-math flags (llvm#88589)

    This change updates a few of the transformations in foldFMulReassoc to
    respect absent fast-math flags in cases where fmul and fdiv, fadd, or fsub
    instructions were being folded but the code was only checking for
    fast-math flags on the fmul instruction and was transferring flags to
    the folded instruction that were not present on the other original 
    instructions.
    
    This fixes llvm#82857
    Andy Kaylor authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    be50a25 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. [mlir][vector] Determine vector sizes from the result shape in the ca… (

    llvm#88249)
    
    …se of tensor pack
    
    When the vector sizes are not passed as inputs to the vector transform
    operation, the vector sizes are queried from the static result shape in
    the case of tensor.pack op.
    pashu123 authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    ce5381e View commit details
    Browse the repository at this point in the history
  2. [ARM64EC] Fix arm_neon.h on ARM64EC. (llvm#88572)

    Since 97fe519, in ARM64EC mode, we don't define `__aarch64__`. Fix
    various preprocessor guards to account for this.
    efriedma-quic authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    8c9f45e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c9d814 View commit details
    Browse the repository at this point in the history
  4. Revert "[SLP]Attempt to vectorize long stores, if short one failed."

    This reverts commit 7d4e8c1.
    
    Contrary to the commit description, this does cause large
    compile-time regressions (up to 10% on individual files).
    nikic committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    efd6055 View commit details
    Browse the repository at this point in the history
  5. [Sparc] Fix instr desc of special register stores

    - Those special register stores are STORE and their memory operands are
      input operands instead of output ones.
    
    Reviewers:
    JDevlieghere, arsenm, yinying-lisa-li, koachan, PeimingLiu, jyknight, aartbik, matthias-springer
    
    Reviewed By: arsenm
    
    Pull Request: llvm#88971
    darkbuck committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    7c26889 View commit details
    Browse the repository at this point in the history
  6. [TableGen][InstrInfoEmitter] Count sub-operands on def operands

    - If a def operand includes multiple sub-operands, count them when
      generating instr info.
    - Found issues in x86 and sparc backends, where memory operands of
      store or store-like instructions are wrongly placed in the output
      list.
    
    Reviewers: jayfoad, arsenm, Pierre-vh
    
    Reviewed By: arsenm
    
    Pull Request: llvm#88972
    darkbuck committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    62853a2 View commit details
    Browse the repository at this point in the history
  7. Revert "Improve stack usage to increase recursive initialization dept…

    …h" (llvm#89006)
    
    Reverts llvm#88546
    
    Leak and performance regression.
    Details in llvm#88546
    vitalybuka authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    d0f718e View commit details
    Browse the repository at this point in the history
  8. [clang][builtin] Implement __builtin_allow_runtime_check (llvm#87568)

    RFC:
    https://discourse.llvm.org/t/rfc-introduce-new-clang-builtin-builtin-allow-runtime-check/78281
    
    ---------
    
    Co-authored-by: Noah Goldstein <goldstein.w.n@gmail.com>
    Co-authored-by: Aaron Ballman <aaron@aaronballman.com>
    3 people authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    1f35e72 View commit details
    Browse the repository at this point in the history
  9. [BOLT][NFC] Remove unused function (llvm#89009)

    getFileOffsetFor() was replaced with getFileOffsetForAddress().
    maksfb authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    52a4d81 View commit details
    Browse the repository at this point in the history
  10. [BOLT][NFC] Remove another unused function (llvm#89011)

    RewriteInstance::isKSymtabSection() is deprecated.
    maksfb authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    0af8cae View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f40f4fc View commit details
    Browse the repository at this point in the history
  12. [RISCV] Convert VTYPE operand check to assert in RISCVInsertVSETVLI. NFC

    The VTYPE operands of a vsetvli pseudo are always immediates
    lukel97 committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    3204f3e View commit details
    Browse the repository at this point in the history
  13. [RISCV] Add CFI information for vector callee-saved registers (llvm#8…

    …6811)
    
    Currently the CFI offset for RVV registers are not handled entirely,
    this patch add those information for either stack unwinding or
    debugger to work correctly on RVV callee-saved stack object.
    
    Depends On D154576
    
    Differential Revision: https://reviews.llvm.org/D156846
    4vtomat authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    c81e5fa View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e6ecff8 View commit details
    Browse the repository at this point in the history
  15. [clang][deps] Support single-file mode for all formats (llvm#88764)

    The `clang-scan-deps` tool can be used for fast scanning of batches of
    compilation commands passed in via the `-compilation-database` option.
    This gets awkward in our tests where we have to resort to using
    `.in`/`.template` JSON files and running them through `sed` in order to
    embed LIT's `%t` variable into them. However, most of our tests only
    need to pass single compilation command, so this dance is entirely
    unnecessary.
    
    This patch makes sure the existing "per-file" mode (where the
    compilation command is passed in-line after the `--` argument) works for
    all output formats, not only `P1689`.
    jansvoboda11 authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    eafd515 View commit details
    Browse the repository at this point in the history
  16. [clang][deps] Add -o flag to specify output path (llvm#88767)

    This makes it possible to pass "-o /dev/null" to `clang-scan-deps` and
    skip some potentially expensive work, making timings less noisy. Also
    removes the need for stream redirection.
    jansvoboda11 authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    6a4eaf9 View commit details
    Browse the repository at this point in the history
  17. [memprof] Simplify IndexedMemProfRecord::operator== (NFC) (llvm#88986)

    llvm::SmallVector::operator== exactly meets our needs.
    kazutakahirata authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    f71e25b View commit details
    Browse the repository at this point in the history
  18. [RISCV] Simplify FindRegWithEncoding in copyPhysRegVector. NFC (llvm#…

    …89001)
    
    Instead of searching all encodings, we can convert the encoding back to
    a register and use getMatchingSuperReg.
    topperc authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    fca2a49 View commit details
    Browse the repository at this point in the history
  19. [libc++][TZDB] Improves time zone format specifiers. (llvm#85797)

    Per [tab:time.format.spec]
    %z  The offset from UTC as specified in ISO 8601-1:2019, subclause
        5.3.4.1. For example -0430 refers to 4 hours 30 minutes behind UTC.
        If the offset is zero, +0000 is used. The modified commands %Ez and
        %Oz insert a : between the hours and minutes: -04:30. If the offset
        information is not available, an exception of type format_error is
        thrown.
    
    Typically the modified versions Oz or Ez would have wording like
    
      The modified command %OS produces the locale's alternative
      representation.
    
    In this case the modified version does not depend on the locale.
    
    This change is a preparation for formatting sys_info which has time zone
    information. The function time_put<_CharT>::put() does not have proper
    time zone support, therefore it's a manual implementation.
    
    Fixes llvm#78184
    mordante authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    a6fcbcc View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    e096c14 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    024281d View commit details
    Browse the repository at this point in the history
  22. [clang][dataflow] Support StmtExpr in PropagateResultObject(). (l…

    …lvm#88872)
    
    This patch adds a test that assert-fails without the fix.
    martinboehme authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    b851c7f View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    91788e3 View commit details
    Browse the repository at this point in the history