Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Jc d2d memcpy #243

Closed
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Sep 7, 2023

  1. [FunctionAttrs] Unconditionally perform argument attribute inference …

    …in the first function-attrs pass
    
    Fix lit test too
    
    Summary:
      Argument attributes like NoAlias and ReadOnly could affect memoryssa and thus earlyCSE in the function simplification pipeline.
    https://reviews.llvm.org/D145210 adjusted PostOrderFunctionAttrs placement and caused the argument attributes not referred for the use
    in the pipeline. This work (initiated by @nikic) unconditionally performs argument attribute inference in the first function-attrs pass.
    
    Reviewers:
      aeubanks and nikic
    
    Differential Revision:
      https://reviews.llvm.org/D156397
    
    Change-Id: If9d1a1b165b708dddc03dfb4d33de2ee48e42844
    changpeng authored and ronlieb committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    90bb50b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c366da7 View commit details
    Browse the repository at this point in the history
  3. [OpenMP][DeviceRTL] Remove vendor specific omp_assert_assume variants

    Replace the ASO variant with upstream Debug.cpp
    
    Change-Id: I5a1b0ae8d49a9d8d7ab49ce7a37eb46bde9d8c1b
    mhalk authored and ronlieb committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    68a52b5 View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I98f9dbf2b938cfe1774bc25b22bb543f46027f6d
    Jenkins committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    cf6e798 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I63bbe1eb7b76198ea4d1663bf3be6041f8d3db40
    Jenkins committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    72f67c3 View commit details
    Browse the repository at this point in the history
  6. [Clang] sles : cleanup of Implement P2741R3 - user-generated static_a…

    …ssert messages
    
    Change-Id: Ia59e5bd3f9645213a15e68a959757749bef564aa
    ronlieb committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    f04aed0 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. merge main into amd-stg-open

    Change-Id: Id991d428db0c107790505e631257c3122e33281c
    Jenkins committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    a3b8306 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e942718 View commit details
    Browse the repository at this point in the history
  3. [CLANG][X86] Restore more X86 code

    unxfails 3 tests
    xfails: clang/test/CodeGen/X86/sm3-error.c
    
    Change-Id: If8017b561cc0534a1c717119ecf861f8d6288d5a
    ronlieb committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    8678fc3 View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: If4d53d1e9fe69bd8d21eb155c0552acb03706d55
    Jenkins committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    f10676b View commit details
    Browse the repository at this point in the history
  5. Remove special barriers that looped on shared variable state because …

    …upstream no longer uses named variables for master-worker handshaking in generic kernels
    
    Change-Id: I50ca6c010f4c0b7c58b706385ceb71cea32f7c28
    gregrodgers committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    6aafb2c View commit details
    Browse the repository at this point in the history
  6. merge main into amd-stg-open

    Change-Id: I415b21f1ce259e2ec018765ed97748d715e83de6
    Jenkins committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    15d62cd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7246626 View commit details
    Browse the repository at this point in the history
  8. merge main into amd-stg-open

    Change-Id: Id4842d20619920792cfb76b939695427857bf139
    ronlieb committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    80457d9 View commit details
    Browse the repository at this point in the history
  9. [OpenMP] [OMPT] [7/8] Invoke tool-supplied callbacks before and after…

    … target launch and data transfer operations
    
    Implemented RAII objects, initialized at target entry points, that
    invoke tool-supplied callbacks. Updated status of target callbacks as
    implemented.
    
    Depends on D127365
    
    Patch from John Mellor-Crummey <[email protected]>
    With contributions from:
    Dhruva Chakrabarti <[email protected]>
    Jan-Patrick Lehr <[email protected]>
    
    Reviewed By: jdoerfert, dhruvachak, jplehr
    
    Differential Revision: https://reviews.llvm.org/D127367
    
    Change-Id: Ic6fcee7059aa4e6237e81e2a702adca6a26bcdc6
    mhalk authored and ronlieb committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    a2ccb7b View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. Configuration menu
    Copy the full SHA
    9aeffe0 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I1a79f3e6361fece67bee02fb55a62849d650b15d
    ronlieb committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    179cf80 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: Ib53689bd8e7eed86af1cff01a97eb3d6592fe9e4
    ronlieb committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    062bd11 View commit details
    Browse the repository at this point in the history
  4. Complete the implementation of P2361 Unevaluated string literals

    The attributes changes were left out of Clang 17.
    Attributes that used to take a string literal now accept an unevaluated
    string literal instead, which means they reject numeric escape sequences
    and strings literal with an encoding prefix - but the later was already
    ill-formed in most cases.
    
    We need to know that we are going to parse an unevaluated string literal
    before we do - so we can reject numeric escape sequence,
    so we derive from Attrs.td which attributes parameters are expected
    to be string literals.
    
    Reviewed By: aaron.ballman
    
    Differential Revision: https://reviews.llvm.org/D156237
    
    Change-Id: I8dcf4c4de75a3f7b089d04cf25b9a20682fa72ff
    cor3ntin authored and ronlieb committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    9d532e8 View commit details
    Browse the repository at this point in the history
  5. [Parser] Parse string literal arguments of 'availability', 'external_…

    …source_symbol' and 'uuid' attributes as unevaluated
    
    This is a complementary to D156237.
    These attributes have custom parsing logic.
    
    Reviewed By: cor3ntin
    
    Differential Revision: https://reviews.llvm.org/D159024
    
    Change-Id: Icb6d3e0f9ea02b4058a567e5c998be71a3aea7c2
    s-barannikov authored and ronlieb committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    d103d89 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cda4959 View commit details
    Browse the repository at this point in the history
  7. merge main into amd-stg-open

    Change-Id: Ie972cb4507ff7b20727e7d1ce7275b18786f2efb
    Jenkins committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    4ce6d5d View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2023

  1. merge main into amd-stg-open

    Change-Id: Ia0a6077c7a6eaef44d8a915123e11b4cf24489b0
    Jenkins committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    5f21bf5 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I3c8e3576cef0a1cbf77bc7e76c0af527938128de
    Jenkins committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    2074f32 View commit details
    Browse the repository at this point in the history
  3. update reverted_patches.txt file

    Change-Id: I17ec52cc181708d1134949c66781d2ae0be8ba9f
    ronlieb committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    c0d761a View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: Iad8bd30ae767ce015d6d39987c7e8e4b07d186df
    Jenkins committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    f89e205 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    72a126e View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. merge main into amd-stg-open

    Change-Id: Id69edef44c1f1fb3eefe9a71413a00c831ba10ee
    Jenkins committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    88fffad View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Revert "[OpenMPOpt] Allow indirect calls in AAKernelInfoCallSite (#65836)"
    
    Change-Id: I790c81ab7d92e0f828e81535cb131c6c45248138
    ronlieb committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    e27acfd View commit details
    Browse the repository at this point in the history
  3. [NFC][AsmPrinter] Refactor DbgVariable as a std::variant

    Only a subset of the fields of DbgVariable are meaningful at any time,
    and some fields are re-used for multiple purposes (for example
    FrameIndexExprs is used with a throw-away frame-index of 0 to hold a
    single DIExpression without needing to add another member). The exact
    invariants must be reverse-engineered by inspecting the actual use of
    the class, its imprecise/outdated doc-comment, and some asserts.
    
    Refactor DbgVariable into a sum type by inheriting from std::variant.
    This makes the active fields for any given state explicit and removes
    the need to re-use fields in disparate contexts. As a bonus, it seems to
    reduce the size on my x86_64 linux box from 144 bytes to 96 bytes.
    
    There is some potential cost to `std::get` as it must check the active
    alternative even when context or an assert obviates it. To try to help
    ensure the compiler can optimize out the checks the patch also adds a
    helper `get` method which uses the noexcept `std::get_if`.
    
    Some of the extra cost would also be avoided more cleanly with a
    refactor that exposes the alternative types in the public interface,
    which will come in another patch.
    
    Differential Revision: https://reviews.llvm.org/D158675
    
    [NFC][AsmPrinter] Remove dead multi-MMI handling from DwarfFile::addScopeVariable
    
    Differential Revision: https://reviews.llvm.org/D158676
    
    [NFC][AsmPrinter] Expose std::variant-ness of DbgVariable
    
    Differential Revision: https://reviews.llvm.org/D158677
    
    [NFC][AsmPrinter] Use std::visit in constructVariableDIEImpl
    
    This potentially has a slightly positive performance impact, as
    std::visit can be implemented as a `switch`-like jump rather than
    a series of `if`s.
    
    More importantly, the reader can be confident is no overlap between the
    cases.
    
    Differential Revision: https://reviews.llvm.org/D158678
    
    Change-Id: Ie5b1fead7b4a4407f73b295530e46e5ce37f638e
    slinder1 committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    1da4395 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    480d108 View commit details
    Browse the repository at this point in the history
  5. [RemarkUtil] Refactor llvm-remarkutil to include size-diff

    This change follows from https://reviews.llvm.org/D156416 We include
    `llvm-remark-size-diff` as a part of `llvm-remarkutil` under a
    subcommand `size-diff`.
    
    Differential Revision: https://reviews.llvm.org/D156515
    
    Change-Id: I1d9ae39265a31d55e56930f910bf5d3a6d5f235b
    Zain Jaffal authored and ronlieb committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    d1c3111 View commit details
    Browse the repository at this point in the history
  6. [llvm] - Add std::move to fix build failures on CentOS 7.

    Change-Id: I0e7d3045cb8d9e0256f22a0e96bb19d7cc6185a9
    estewart08 committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    df9bf1e View commit details
    Browse the repository at this point in the history
  7. merge main into amd-stg-open

    Change-Id: Id23677ba24e8ac05d55a269a29abd499c8c0d1d2
    ronlieb committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    153e5c5 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    9f637f9 View commit details
    Browse the repository at this point in the history
  2. [HeterogeneousDWARF] Update MLIR DI Metadata handling

    Pass a default DW_MSPACE_LLVM_none to satisfy new API
    
    Change-Id: I50df461f00b5510a715f55f61107122318102d22
    slinder1 authored and ronlieb committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    f1d1e10 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I11367080ee9fc14a8692fc63f58a31f84623d83d
    ronlieb committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    ec7779f View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I8efbea3c5f26b760629b912cf11519af1b9b5f97
    Jenkins committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    41f038f View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I32fde7c902bf410c6c8208292b4f475f243635d4
    Jenkins committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    d5c3df8 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. merge main c5ad6c7 into amd-stg-open

    Change-Id: I5d333e8d2a166874dabd6ad82e4376fedfd77733
    ronlieb committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    a80ed4e View commit details
    Browse the repository at this point in the history
  2. [OpenMP][OmpTest] Initial OmpTest commit

    Introduces an initial implementation of an OMPT-based unit testing
    framework inspired by GoogleTest. In a unit test, defined via the
    OMPTTESTCASE(TestSuite, TestCase) macro, a sequence of OMPT events can
    be asserted to happen.
    As of now, it needs to be done by hand via the `insert` method of the
    SequencedAsserter. Eventually this will be hidden behind a macro.
    
    The file openmp/libomptarget/test/ompTest/src/main.cpp serves as a demo
    for both what is currently available and an intial sketch of how the
    macros may look like.
    
    As of now, the OMPT events are checked when they happen. This means that
    the events
    - Device Init
    - Device Load
    do currently not work for assertions as they happen before the Asserter
    object is created. This is likely going to be addressed in future
    additions, as it seems to be a critical part.
    
    Change-Id: Id178c5f2b378a3a6ebbecf7deea3bf7f0a52f6cb
    jplehr committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    29e5b3e View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Revert "clang/OpenCL: Add inline implementations of sqrt in builtin header"
      breaks libdevice builds
    
    Change-Id: Ib56f8fcb1924a2e1a504c511756974b2a8d5474a
    ronlieb committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    2873c57 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8793a9d View commit details
    Browse the repository at this point in the history
  5. Revert "[HIP] Temporary add rpath to HIP RT by default"

    This reverts commit dcd907b.
    
    Change-Id: I25c29b6d0c40125fec0c22bd24fc57fb044804a4
    scchan committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    6b7a2ca View commit details
    Browse the repository at this point in the history
  6. merge main d65885a into amd-stg-open

    Change-Id: Ifd6cb1c631bca497f029890a8ab4235fde5f6170
    ronlieb committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    e02d3b7 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. merge main into amd-stg-open

    Change-Id: I5d4962df784c20863de48ccdee2db836faecaaba
    ronlieb committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    cb0ff39 View commit details
    Browse the repository at this point in the history
  2. [OpenMPOpt] Allow indirect calls in AAKernelInfoCallSite (#65836)

    wq
    The Attributor has gained support for indirect calls but it is opt-in.
    This patch makes AAKernelInfoCallSite able to handle multiple potential
    callees.
    
    [LLVM][OpenMPOpt] Fix a crash when associated function is nullptr (#66274)
    
    The associated function can be a nullptr if it is an indirect call.
    This causes a crash in `CheckCallee` which always assumes the callee
    is a valid pointer.
    
    Fix #66904.
    
    Change-Id: Ief6ea28456dc5c01709049153fe7e30f6aa4cb29
    jdoerfert authored and ronlieb committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    9776283 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I73de1015b02085ee43a40358fc198798dfe0ebfc
    ronlieb committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    45fcc1c View commit details
    Browse the repository at this point in the history
  4. Always use -mcode-object-version=none

    Change-Id: I069f2344d4a6e86c365e6cc692bfcca627178db8
    yxsamliu committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    de3c221 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I53c80d21eb059988b295a1abec9acdd1a3470bca
    Jenkins committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    b5a2074 View commit details
    Browse the repository at this point in the history
  6. merge main into amd-stg-open

    Change-Id: I308e2e5d3d4b237c2d7861095e2e438956cf496f
    ronlieb committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    cd6d913 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. merge main ae84b16 into amd-stg-open

    Change-Id: I024513a0810861b6aa8a9f16e14b6f6841e74468
    ronlieb committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    a4e038e View commit details
    Browse the repository at this point in the history
  2. Fix typo in mul function

    Change-Id: I384198f35208b652012e094422eab882f2d5cbbf
    b-sumner committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    8efb5d6 View commit details
    Browse the repository at this point in the history
  3. merge main 0a1aa6c into amd-stg-open

    Change-Id: Ic57706bf2d11a13a4105c471f4f69c603a295a3f
    ronlieb committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    5200e94 View commit details
    Browse the repository at this point in the history
  4. merge main 79e96b2 into amd-stg-open

    Change-Id: Ib913b4af93bbc62db992be9b3d6aba7058fddf79
    ronlieb committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    b4bbe5e View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. merge main into amd-stg-open

    Change-Id: Ib699a2fd9e9cf5f40f295163cd8f732fa85ad41b
    ronlieb committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    55bb1a4 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I1c81a40a36ff47b36cafb37f7baa4e1aa66dbfc9
    Jenkins authored and ronlieb committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    1675cf3 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I27c20d24ef00ec92712f8144e3ac89fd7c2f4ca6
    Jenkins committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    1500986 View commit details
    Browse the repository at this point in the history
  4. remove AMDFlang and fix error on c,v flang

    Change-Id: I4dc0838450583025dcf64438a1c7cdac32641621
    ronlieb committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    8ccd8ca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a48f5e9 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2023

  1. merge main into amd-stg-open

    Change-Id: I4494e70b6e969ccf480e5601adf11abe17740ee4
    Jenkins committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    a45e919 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I84d1d117327870990b9f60ba039206d1c3e1e1e4
    Jenkins committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    f350832 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I7539b45f16e1a61f760dc47e03307a5f7d866b07
    Jenkins committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    5dc0bd0 View commit details
    Browse the repository at this point in the history
  4. [Options] more cleanup of old classic-flang options

    Change-Id: I2b265848a94f12db2472e91cd2c6192dfe1a4164
    ronlieb committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    e5d91c1 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. merge main into amd-stg-open

    Change-Id: I45cbfc779e3da70bd601505d3fb0a2cc47cb8ad6
    Jenkins committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    306a6a4 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: Ifeaa6e94db19208bb5ef31f24408bf1772c06f29
    Jenkins committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    b84d069 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I8dc9993e558c98d1f3efdb1bc88dc5a964b6c5e3
    Jenkins committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    2d2ab0c View commit details
    Browse the repository at this point in the history
  4. correct errant version back to: LLVM (http://llvm.org/)

    Change-Id: I82d395afc76c019bea5708e97f39324edeceb726
    ronlieb committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    1193efb View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: Ic1074dc5a100be2684de61515e426064c364e439
    ronlieb committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    3c5242d View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. flang-new cleanup to allow it to build in ASO

    Change-Id: If7f685e2073742656531f7d5542159d72a57351d
    ronlieb committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    26bdcf7 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: Iabd20a90fbf7e96b3f943072066e9ba2364222dd
    ronlieb committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    e0bd4a7 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I10c38e2210b0fd28fd08501164dd9cb98ecf95b5
    Jenkins committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    330fdd0 View commit details
    Browse the repository at this point in the history
  4. Re-implemented the method to return the sysem's XNACK status. Instead…

    … of using ROCt, the envvar HSA_XNACK and ther kernel parameter noretry is used. Removed dependencies on ROCt
    
    Change-Id: I768d4566df664ff7fe45a8ed932d5905b6ae9b09
    ThorBl authored and ronlieb committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    82aaa71 View commit details
    Browse the repository at this point in the history
  5. [Comgr] Fix bugs with mangled name test

    Check after linking bitcodes instead of before. Also fix issue with
    wrong variable being printed after check
    
    Change-Id: I14d219a2f5656c6789d5abbf164a04c27d4ab395
    lamb-j committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    0b736c5 View commit details
    Browse the repository at this point in the history
  6. [Comgr] Fix issue with tests failing when redirecting logs to stderr

    For tests that use stdout/stderr as part of the verification process,
    sending logs to those output streams causes the test to fail. Previously,
    we temporarily disabled the log redirect if set to stdout. With this patch,
    we do the same for stderr
    
    Change-Id: Ia0c2125d97fbe76094e8c62df6405e65f19c09df
    lamb-j committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    647bc79 View commit details
    Browse the repository at this point in the history
  7. [Comgr] Fix typo/inconsitency with name expression test file

    Change-Id: Ia8742f8c50407ad2c728c708883692fdf5010d06
    lamb-j committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    0bf697d View commit details
    Browse the repository at this point in the history
  8. [Comgr] Remove/legacy unused test source files

    Change-Id: I497cbf9a073376975e41e9424277089cd9723f3c
    lamb-j committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    ce12577 View commit details
    Browse the repository at this point in the history
  9. merge main into amd-stg-open

    Change-Id: I2971b6733b09d0285c2892d6832b0329aeeb20d2
    ronlieb committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    f3ab46e View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. merge main into amd-stg-open

    Change-Id: I9085b3c3d606aac5e87456678804b3a94a6fa1ee
    ronlieb committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    f7e084b View commit details
    Browse the repository at this point in the history
  2. [NFC][AsmPrinter] Refactor constructVariableDIE

    Fold constructVariableDIEImpl into constructVariableDIE,
    simplify it and group related functions.
    
    Pull out the previously inline lambdas for visiting the active
    variant of the DbgVariable to add location and related attributes
    as an overload set for a private method
    applyConcreteDbgVariableAttributes.
    
    Rename applyVariableAttribute to reflect what kinds of attributes it
    applies, and to contrast it with the new
    applyConcreteDbgVariableAttributes.
    
    Move constructLabelDIE down in the implementation file, so all of
    the constructVariableDIE-related function impls are adjacent.
    
    Change-Id: I8c87340c3f859fed1a2cfb300b1d9e4c22eea93f
    slinder1 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    b7afe23 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    87a1d4e View commit details
    Browse the repository at this point in the history
  4. Update documentation requirements

    rocm-docs-core 0.24.0
    
    Also adds amd/hipcc/.readthedocs.yaml configuration file for ReadtheDocs when building docs
    
    Change-Id: Ie9c67d04b7a073fafddc80ccf5c283179791cb64
    samjwu committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    d98baf7 View commit details
    Browse the repository at this point in the history
  5. [Comgr] Update default arch for test binares from gfx830 to gfx900

    Change-Id: Ia8f490e0cb545168580e97866b903937fb7239be
    lamb-j committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    5fe9221 View commit details
    Browse the repository at this point in the history
  6. merge main into amd-stg-open

    Change-Id: I39edb8b5a926c15d53b164fcdcbe4fc7f05388f6
    ronlieb committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    316b048 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. [OMPT] Added support for multiple devices in device tracing.

    Fixes ROCm/ROCm#2058.
    
    ompt_start/flush/stop_trace now accept a device and actually do
    something with it. ompt_set_trace_ompt still ignores the device.
    
    The runtime will now use the correct device-id while invoking buffer
    request/complete callbacks.
    
    For start_trace, this support enables tracing on selected devices.
    Unique buffer request/complete callbacks can be attached to a given
    device-id. All of this info will be tracked and the device-id
    returned to the tool through the completion callbacks.
    
    For flush_trace, the runtime will use the device-id to return buffers
    only for the selected device to the tool.
    
    For stop_trace, the runtime will first flush the buffers for the
    selected device and stop tracing for that device only. If tracing has
    been stopped for all devices, the helper threads will be shut down as
    well.
    
    Regardless the device-id used in the flush/stop APIs, buffers for all
    devices will be automatically flushed as they become full, per the
    OpenMP specification.
    
    We don't do anything with the device id passed through
    ompt_set_trace_ompt since using that information to filter out tracing
    will introduce locking in the critical tracing path of OpenMP worker threads,
    something we would like to avoid. If this feature is indeed very
    important for the tool, we can introduce this feature later. The
    downside of ignoring the device id is that a tool does not have the
    ability to selectively control the events that get traced on a device
    basis.
    
    Added a related change to cache the thread_id in a thread local variable
    to reduce locking.
    
    Change-Id: Ida3401bb295158a0777e1c02c84dcf16bfa116c6
    dhruvachak authored and ronlieb committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    66e04a2 View commit details
    Browse the repository at this point in the history
  2. merge main 001af0f into amd-stg-open

    Change-Id: I989960f3b46412c70b377b97c57bb35c8ef17b64
    ronlieb committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    8c4526b View commit details
    Browse the repository at this point in the history
  3. [NFC][AsmPrinter] Change ptr argument to reference, and reflow comment

    Update to the commit landed in
    http://gerrit-git.amd.com/c/lightning/ec/llvm-project/+/926948 to match
    upstream review.
    
    I had intended to wait until the upstream review
    llvm/llvm-project#66435 was finished before
    submitting the gerrit merge of it, but accidentally submitted to soon.
    
    Change-Id: Ib244a34b662584b3314f70371e4527870ddea8e5
    slinder1 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    3042dcf View commit details
    Browse the repository at this point in the history
  4. [Comgr] Refactor nested kernel behavior into separate test

    OpenCL allows a kernel function to be called from another kernel function,
    and this behavior is featured in the primary OpenCL files used in the Comgr
    tests. However, this behavior is atypical and rarely-used.
    
    In this patch, we refactor this behavior into a separate test,
    and restructure the primary tests to not call nested kernels. This will allow
    us to more quickly identify issues specifically with nested kernels without
    failing a large array of tests.
    
    Change-Id: I1772db85b770977012798940dd2cba5fc2cdf8ac
    lamb-j committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    52af0c3 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I49a7fdd14470e7b1aee3bfacefa2d4246ddd67ae
    ronlieb committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    6ee7f23 View commit details
    Browse the repository at this point in the history
  6. [flang-new] enable linking in of runtime libraries

    Change-Id: I5592e87a1f83330264effd489c16fdcb186a8e8c
    ronlieb committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    1463f01 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7905ec9 View commit details
    Browse the repository at this point in the history
  8. [OpenMP][OMPTest] Move internal event to its own header

    Change-Id: Ibc93f693bb08536769e4225d812aac68c904833a
    jplehr committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    9e0596b View commit details
    Browse the repository at this point in the history
  9. merge main into amd-stg-open

    Change-Id: Id00be9c00c2cf47db6a4e7de5b62464d347f97b9
    ronlieb committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    75daffb View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. merge main into amd-stg-open

    Change-Id: Id3a9d34c7142e1ed7859592bcc4d793b95f203a1
    Jenkins committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    65e9eeb View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: Ia0d155f5580b450c5f224a1aabd02415cf869a16
    ronlieb committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    247508d View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. merge main into amd-stg-open

    Change-Id: I1d6dee4c7dd1b2af8e2c426bec8efac00e181884
    Jenkins committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    6b0f9d4 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: Ia2e9ab7b4d063e9caf1f247b20dface4342a2cad
    Jenkins committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    280d8b1 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I04a2d4fba7be8dc01d677d7476c9d7ef88793c55
    Jenkins committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    2126b63 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. merge main into amd-stg-open

    Change-Id: I5ef810f0892b20b70e78a27b290357d1e8ae4a0a
    Jenkins committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    79291da View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: Ie6d1c30485f4a15f31ddce8658199929762a1517
    ronlieb committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    cd4447c View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I3f452bd102f63454b2782150a03b01ad545103fd
    Jenkins committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    8f47f46 View commit details
    Browse the repository at this point in the history
  4. [flang][offload] SPMD exec mode warn

    Change-Id: I66f8f7c560c282bd5b9f3f864bb8519606f426d5
    ronlieb committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    f67639d View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I8b0c765ab2b6abe7505f0c158ab54024cc3dac3b
    Jenkins committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    3e6d7f1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8a6b0d0 View commit details
    Browse the repository at this point in the history
  7. [OpenMPOpt] cleanup

    Change-Id: I88b80b4d3cc872fcaa3351af049a4f54744ee7aa
    ronlieb committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    a3f7042 View commit details
    Browse the repository at this point in the history
  8. [amdgpu opt/llc] appends ROCM_OPT_ARGS and ROCM_LLC_ARGS

    Change-Id: I718aac28e84e3ada80e70a0ce14bc148024c13eb
    ronlieb committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    80b8b4f View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. merge main into amd-stg-open

    Change-Id: I48c13eeb2c825aa42fff4f093edceac148318df6
    Jenkins committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    bd25ea6 View commit details
    Browse the repository at this point in the history
  2. [OpenMP][OMPT] Add activation functionality to OmptAsserter

    Now an OmptAsserter can be disabled by the user.
    This can be evaluated to e.g. ignore notifications while 'inactive'.
    
    Change-Id: I452b61dcf9b8dd9e6b5012664de5d5ff46ffa21f
    mhalk authored and jplehr committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    d576109 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I0b9cbe0adf940366466a301aeccd8a6eac82c496
    Jenkins committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    c91ab74 View commit details
    Browse the repository at this point in the history
  4. [OpenMP][OMPT] Refactorigns to ompTest and improvements

    The patch introduces a few minor improvements and name changes to show
    the more general nature of certain classes.
    A test no longer exists/aborts execution when an assert fails, but
    reports an error and continues execution.
    
    Change-Id: I43b1af14b061a2e26981b94e2e3021266daf73a0
    jplehr committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    ec0f6ac View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    reverts [Documentation] Replace recommonmark by myst-parser (#65664)
    needs pip install magic in the builder
    
    Change-Id: I99886b000c8142c772388022f2172352938e5a3a
    Jenkins authored and ronlieb committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    4236e86 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. merge main into amd-stg-open

    revert
       f726da1 [Driver] -include: deprecate probing .gch
    
    Change-Id: I6eecd760dd25ce08da3337ce6254727253b7918d
    Jenkins authored and ronlieb committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    de1fa60 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I9c70c25355d98c881a09cc66c5419f3f46fb74ea
    Jenkins committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    e8bf944 View commit details
    Browse the repository at this point in the history
  3. [Driver] -include: deprecate probing .gch (#67084)

    increases DIAG_SIZE_DRIVER to 400 from 300
    
    `-include a.h` probes `a.h.pch` and `a.h.gch`, if not found, falls back to
    `a.h`. `.pch` is the preferred extension name. Probing .gch is supposed to
    provide compatibility with build systems that do
    ```
    clang -x c-header a.h -o out/a.h.gch
    clang -include out/a.h -c a.c  # out/a.h.gch is present while out/a.h is absent
    ```
    (not sure what projects actually do this with Clang)
    
    But it can often get in the way [^0][^1][^2] when GCC and Clang are mixed as the file
    format is incompatible with GCC's. Let's deprecate .gch probing.
    Some tests using `-include` are switched to `.pch`.
    `test/PCH/pch-dir.c` shows the -Wdeprecated warning.
    
    [^0]: https://discourse.llvm.org/t/how-to-have-clang-ignore-gch-directories/51835
    [^1]: https://bugreports.qt.io/browse/QTCREATORBUG-22427
    [^2]: https://gitlab.kitware.com/cmake/cmake/-/issues/22081
    
    Change-Id: I55408399eb0b194fe2be33e66ef2c84a945f077a
    MaskRay authored and ronlieb committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    7f178e5 View commit details
    Browse the repository at this point in the history
  4. fix HipGL build failed

    Change-Id: Iae6a20b4e9d80ca9f3fb04ccb5d7a1efc6cb9327
    jhuber6 authored and ronlieb committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    2b8bb9c View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: Idf6ae909897a92af60f781cbb9adb345dcc663af
    ronlieb committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    30bfc54 View commit details
    Browse the repository at this point in the history
  6. Revert "SWDEV-355608 - deprecate/cleanup hipcc link flags"

    AFAR breaking in rocfft rocsparse: libamdhip64.so not found
    
    This reverts commit 2f3b708.
    
    Change-Id: I25ad084c17ca05fc496612dd5c956c65f8bf7b29
    ronlieb committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    ae38aed View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. merge main e3d714f into amd-stg-open

    Change-Id: I938954bb44dd7970597439c37e9af12975011b8d
    ronlieb committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    a515b7e View commit details
    Browse the repository at this point in the history
  2. merge main c1afed9 into amd-stg-open

    Reverts 1afed9f48c2 [Clang][HIP] Remove 'clangPostLink' from SDL handling
    
    Change-Id: Ia248981353819e92106039078a3f3d578ea1a607
    ronlieb committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    b7ef2b4 View commit details
    Browse the repository at this point in the history
  3. merge main ea7f43e into amd-stg-open

    Revert "[SLP]Do not gather node, if the instruction, that does not require"
    
    Change-Id: Ied6d360223bcdfffef6ce80a9877c84e7448e8d9
    ronlieb committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    c026d2a View commit details
    Browse the repository at this point in the history
  4. [OpenMP][OMPT] Initial record and replay for OMPT events

    This implements the recording of OMPT events in the OmptCallbackHandler.
    As a result, tests can assert on events that happen at the start of the
    program, e.g., device initialization.
    
    Currently, the record and replay is not enabled by default, as it needs
    to be looked at more when are reasonable points where the replay
    happens.
    
    Change-Id: I4ba4ccde49ff74b8b3295ef936575eab07ced46b
    jplehr authored and ronlieb committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    cd6aff4 View commit details
    Browse the repository at this point in the history
  5. [Comgr] Switch filesystem read to C-style API

    To test issues with the stdc++lib, we switch from std::getline()
    to the POSIX getline() implementation, leveraging the fact that
    this code is already restricted to not run on Windows.
    
    We also clarify the return value of an empty string for the failure
    cases.
    
    Change-Id: I93547d85a5d345f1ff324909b38604f491ccecec
    lamb-j committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    d216ad1 View commit details
    Browse the repository at this point in the history
  6. Revert "Revert "SWDEV-355608 - deprecate/cleanup hipcc link flags""

    This reverts commit ae38aed.
    
    Reason for revert: bring it back
    
    Change-Id: I3ae22b12e9c1f3006717947c175670a4e2335bf1
    ronlieb committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    efb50fd View commit details
    Browse the repository at this point in the history
  7. [SLP]Do not gather node, if the instruction, that does not require

    scheduling, is previously vectorized.
    
    [SLP]Cleanup MultiNodeScalars when tree deleted.
    
    If the main node was vectorized already, but does not require
    scheduling, we still can try to vectorize it in this new node instead of
    gathering.
    
    Change-Id: I66dd7d4cb1b6b6d2ffc82eade79b5d3375a1e317
    alexey-bataev authored and ronlieb committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    2c03f7c View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. merge main into amd-stg-open

    Change-Id: I41f034f795d4c76043a9bace6d05d3473fb58168
    ronlieb committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    2a58961 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I7ab2f752e7c1a03b06c4658eeb8a9536eaa6ed35
    Jenkins committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    783768e View commit details
    Browse the repository at this point in the history
  3. [openmp] - Remove additional roct dependency.

    This looks like it was missed in a previous patch:
    82aaa71
    
    Change-Id: I1cc08afff8752b4dce82d8e269008b0ca2ee78b2
    estewart08 committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    8db6fac View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. merge main into amd-stg-open

    Change-Id: I642c0cde12a3db126c1cb5c925c2c8b8ae55c565
    Jenkins committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    225c6b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d2dea4 View commit details
    Browse the repository at this point in the history
  3. [openmp] - Remove OMPT from libomptest.so link step.

    Change-Id: Ie80e1e8c52bce0863b0925525eb22813afabccba
    estewart08 committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    66340d2 View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I1cb422756fe4bf97e298b51487e10cb3d083789b
    ronlieb committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    0a9e356 View commit details
    Browse the repository at this point in the history
  5. [HeterogeneousDwarf] Keep track of GlobalVariables DIFragments using …

    …WeakVH
    
    In DwarfDebug::beginModule, the compiler stores for each fragment its
    associated GlobalVariable in a DenseMap.
    However, nothing prevents the GlobalVariable from being removed during a later pass,
    invalidating the reference in the map.
    In the attached test case, AMDGPULowerLDS removes LDS variables without any use,
    which resulted in an use-after-free access.
    
    The WeakVH works as a reference to the GlobalVariable, however, when the
    global is erased a callback sets the WeakVH to invalid.
    
    Change-Id: If1627f548441f07ab32454ece2beefb518ab2aa2
    jmmartinez committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    c754725 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    378db9e View commit details
    Browse the repository at this point in the history
  7. [OpenMP][MI300A][libomptarget] Add option to make map constructs pref…

    …ault pages on target GPU.
    
    Preafulting pages allows to execute applications built with xnack- in unified_shared_memory mode.
    A translation for each mapped page is added to the GPU page table and there is no need to run the XNACK algorithm when a page is referenced by a GPU thread for the first time.
    
    Change-Id: Icdff3dd59bfa2796774ecc56f1366f3037982119
    carlobertolli committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    628a975 View commit details
    Browse the repository at this point in the history
  8. merge main into amd-stg-open

    Change-Id: Ifac6412b22e6a37c232116900ac3bbbd21263393
    ronlieb committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    50bf346 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2023

  1. merge main into amd-stg-open

    Reverts : breaks hipify in win build, need combo build
      3661a48 [clang] NFCI: Use `FileEntryRef` in `SourceManager::getMemoryBufferForFileOr{None,Fake}()`
      2fc90af [lldb] Fix build after 2da8f30
      2da8f30 [clang] NFCI: Use `FileEntryRef` in `SourceManager::overrideFileContents()`
      b0abc9d [clang] NFCI: Use `FileEntryRef` in `ASTReader::GetHeaderFileInfo()
      8a2fb13 [clang] NFCI: Use `FileEntryRef` in `SourceManager::FileInfos` (#67742)
    
    Change-Id: I38e0934bab24684c2b79c5f113bc00f78258abfd
    Jenkins authored and ronlieb committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    277192a View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I7e7879228a7aea7db6f140fcbf4a867974a59a9b
    Jenkins committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    e1247d7 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    disable new flang-rt unittest , depends on gtest
    
    Change-Id: I6c11c3e39e4d3d9e4028d9c7c214f21af4d7839b
    Jenkins authored and ronlieb committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    8e888da View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2023

  1. merge main into amd-stg-open

    Change-Id: Ic8717ba489fc9830e2940f6c2cb6613e9ad47c17
    Jenkins committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    ce1873a View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Revert: breaks build of hipTest in win and lnx
     d8127b2  InlineSpiller: Consider if all subranges are the same when
    
    Change-Id: I8e4f4f366794f728f6280178e314dc47b680ba61
    ronlieb committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    69936e4 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. merge main into amd-stg-open

    Change-Id: I9f12b2aa00a9029740f83d73af9970b51551f591
    Jenkins committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    a2a7059 View commit details
    Browse the repository at this point in the history
  2. [HeterogeneousDwarf] Add support for C++ structured binding

    Change-Id: If7d7a49ba41c9b82327d60abc2320aad3305a5a1
    jmmartinez committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    90eeeb1 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I01103d5f8e3634a6fde9df262039c2182e82bacb
    Jenkins committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    92192e7 View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: Ie2e073aa2b8bd0e1851e6fcc68a41a2125309881
    ronlieb committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    b2366d9 View commit details
    Browse the repository at this point in the history
  5. [AMD] Add a README and copies of scripts

    Add more context for the new amd directory to a README therein,
    and include a copy of the script used to create the merge along
    with a script to aid in translating patches from the old separate
    repos to the new combined llvm-project "omnibus" monorepo.
    
    Change-Id: Ifcb8d22e0e050c2ea46bed8720c17241b0b7dd90
    slinder1 committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    2fc4f03 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8831182 View commit details
    Browse the repository at this point in the history
  7. [OpenMP][OMPT] Initial set semantics asserter

    This implements an initial set-semantics asserter in OMPTest. While the
    implementation is probably somewhat crude, it allows to formulate a set
    of expected events that do not need to appear in the specified order.
    
    Change-Id: I08ebdaf9bc4f17b5cb93e6fadf1acdcfaff8af25
    jplehr authored and ronlieb committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    db06b67 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. merge main into amd-stg-open

    Change-Id: Ia8cb806005d861d9d3bb2f7a990f15ab7417f9e2
    Jenkins committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    1408c29 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9b5fb4 View commit details
    Browse the repository at this point in the history
  3. [clang] NFCI FileEntry Restore 5 commits needing to coordinate with h…

    …ipify
    
      3661a48 [clang] NFCI: Use `FileEntryRef` in `SourceManager::getMemoryBufferForFileOr{None,Fake}()`
      2fc90af [lldb] Fix build after 2da8f30
      2da8f30 [clang] NFCI: Use `FileEntryRef` in `SourceManager::overrideFileContents()`
      b0abc9d [clang] NFCI: Use `FileEntryRef` in `ASTReader::GetHeaderFileInfo()
      8a2fb13 [clang] NFCI: Use `FileEntryRef` in `SourceManager::FileInfos` (#67742)
    
    Change-Id: Iac2cec8b3d43bccc22dd0a62ce7bb8cf721466e6
    jansvoboda11 authored and ronlieb committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    f068ddf View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I34550f8edf85dc1a26103cddbdb16fabd027477c
    Jenkins committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    e4a52f3 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I7b76689a627c2b69bd3653ec5eee02398294ea6c
    Jenkins committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    89dc27f View commit details
    Browse the repository at this point in the history
  6. [OpenMP][OMPT] Add EventReporter

    Allow to listen to all occurring events without actual assertion.
    The reporter will print permitted, occurring events to a given stream.
    
    Added toString methods for non-EMI callbacks which are supported by AOMP.
    
    Change-Id: Ifd0b2385cf4e811a856eb345285b7e212ef1d5a0
    mhalk authored and ronlieb committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    aa8390f View commit details
    Browse the repository at this point in the history
  7. [OpenMP][OMPT] Add EMI callback support

    Added handling of EMI callbacks and toString methods.
    
    Added environment variable "OMPTEST_USE_OMPT_EMI".
    It is used to control the registration of (non-)EMI callbacks.
    To register EMI callbacks set it to '1', 'ON', 'true' or 'yes'.
    Otherwise, the non-EMI variants will be registered.
    
    Change-Id: I44747c697aafe5c6ed6c06032e2bad90ed376224
    mhalk authored and ronlieb committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    3a6ced9 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. merge main into amd-stg-open

    Revert: breaks hipify
      25a6b89: [clang] NFC: Remove unused `FileEntry::getLastRef()` (#68156)
    
    Change-Id: I8ba7c4c9eb08b63a479c2c393ace3195c2f5b5b0
    ronlieb committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    e1903c6 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I444b5542e300ad9297be5260c7e7c646c4925650
    Jenkins committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    8f8cef0 View commit details
    Browse the repository at this point in the history
  3. [OpenMP] [amdgpu] Added env-var LIBOMPTARGET_AMDGPU_ENABLE_QUEUE_PROF…

    …ILING.
    
    It can be set to true to always enable HSA queue profiling. It is false by default.
    
    Change-Id: I2ca4430c00aeb0bc3304dc5cfe6bb0aa4243d086
    dhruvachak authored and ronlieb committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    8ec3b3e View commit details
    Browse the repository at this point in the history
  4. [Comgr] Fix issue in which Path memory freed before return

    Previously we freed "Line" before returning. However the StringRef
    Path, which was built from the StringRef vector Tokens, depends on
    Line, instead of making a copy.
    
    Change-Id: I617d3bacf6c17ca9e89631efe8376fba83eb2c36
    lamb-j committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    ac58c72 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I53e104aba4a1a78c0766c1f5a85a37a4054fb62b
    ronlieb committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    006a092 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    45c08ad View commit details
    Browse the repository at this point in the history
  7. merge main into amd-stg-open

    Change-Id: I52ae0fb6871cbb58903b29282c0dd6ea0cf645cd
    ronlieb committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    c5fb680 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. merge main into amd-stg-open

    Change-Id: I357b7fa4b87e3b9795a4315d97a7e322f96ad665
    Jenkins authored and ronlieb committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    b879e18 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: Ic6d17a0072025ef5e93d838c06d1589751fc121d
    ronlieb committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    7b3f131 View commit details
    Browse the repository at this point in the history
  3. [clang] NFC: Remove unused FileEntry::getLastRef() (#68156)

    The last usage of the deprecated `FileEntry::getLastRef()` was removed
    in #67838, let's remove it entirely.
    
    Change-Id: I690b9a38b8d9e7b4c1414d008873f3f819a27a26
    jansvoboda11 authored and ronlieb committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    be04016 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. merge main into amd-stg-open

    Change-Id: Id8f9a1a8b9c27d5a1771b6d0dfc89bcf6bdeff8c
    ronlieb committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    f56de89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66a40a6 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I74e20ed4b1b81df1affb059e47b5b0315e7073e6
    Jenkins committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    afb0c2b View commit details
    Browse the repository at this point in the history
  4. [openmp] - Support for adding openmp to LLVM_ENABLE_RUNTIMES.

    If openmp is added to LLVM_ENABLE_RUNTIMES,
    LIBOMPTARGET_EXTERNAL_PROJECT_HSA_PATH and
    LIBOMPTARGET_EXTERNAL_PROJECT_THUNK_PATH must be set
    to avoid the dlopen path for hsa libraries. The
    hsa/hsakmt libraries built here will only stay in
    the build tree and will not be installed to
    avoid packaging issues.
    
    OpenMP runtime build also depends on rocm-device-libs,
    which will be built as an external project via:
    LLVM_EXTERNAL_PROJECTS=rocm-device-libs
    LLVM_EXTERNAL_ROCM_DEVICE_LIBS_SOURCE_DIR
    
    Change-Id: Ic11920868e86cb31d10bf5947217a0e18b9c2df3
    estewart08 committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    c3f1069 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I6d51b5f5b6c8c104d905364ee00496656a3aba42
    ronlieb committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    42f7284 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. merge main 8eff5e4 into amd-stg-open

    Change-Id: Iefd86b970524f057dda75c37158db01910e8a8d2
    ronlieb committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    f300984 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: Ie694e6e85c13bb975ec4b8278b1e4643d1c6bc95
    Jenkins committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    9ad931f View commit details
    Browse the repository at this point in the history
  3. Revert "Revert "[HIP] Temporary add rpath to HIP RT by default""

       see if this fixes the libamdhip64.so not found in rocfft rocsparse
    
    This reverts commit 6b7a2ca.
    
    Change-Id: I591eebb8d7673f071e8cd5c5632878cdc82315bf
    ronlieb committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    444d1d1 View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I6b019f7785eb6be7261de7233d3edfd5a45073b1
    Jenkins authored and ronlieb committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    f88061b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    438dbe7 View commit details
    Browse the repository at this point in the history
  6. [openmp] - Updates for running check-openmp.

    Removed hostexec service from LIBOMPTARGET_SYSTEM_TARGETS,
    which was passing unexpected triples.
    
    Fixed issue where libompd test cases were not being added
    to check-openmp.
    
    Cherry-pick two patches from trunk which did not apply
    well to amd-stg-open:
    
    071c8a4
      [Libomptarget] Fix tests after deleting the next-gen plugins
    
      The next-gen plugins didn't correctly configure tests and were never
      actually being run. Since deleting the old plugin we stopped getting
      tests. This patch fixes the issue and allows the targets
      to be built
    
    b83e290
      [Libomptarget] Fix tests only including the LTO variant
    
    Change-Id: I99e3073150911ea261cf30f1f304e81abc636b06
    estewart08 authored and ronlieb committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    77c2c67 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. merge main into amd-stg-open

    Change-Id: I4d77057920551a23c44e74815a32ec6fbb9ae83a
    Jenkins committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    9422e6b View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I0b3e7633ffc6f532cc6d47bd94266203a002c85e
    Jenkins committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    f5e5417 View commit details
    Browse the repository at this point in the history
  3. restore LIBOMP_OMPD_SUPPORT cmake change

    Change-Id: I95f937e2a112e569423faae88dddcccc1d4c17c7
    ronlieb committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    290c5de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d89b39 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I70cfb7d68d3cfd0b8bd90c89bdb33fa7ac15b504
    Jenkins committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    6354670 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. merge main into amd-stg-open

    Change-Id: Ife14d8bfc7b9c6ece155c995ab08cd73310c4acf
    Jenkins committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    7187fa2 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: Ifd024d679cc0bdbd2d78306201a84227fe9c74af
    Jenkins committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    78c3997 View commit details
    Browse the repository at this point in the history
  3. [OpenMP][OMPT] Add Tracing Support to libomptest

    Added support for (device) tracing to the testing library.
    
    Change-Id: I1dbccd787f1d00037d780059422d0c299f0e3e05
    mhalk authored and ronlieb committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    703e02d View commit details
    Browse the repository at this point in the history
  4. [OpenMP][OMPT] Add EventReporter to libomptest by default

    This will enable printing of OMPT events.
    
    Also we chose to disable the handling of ThreadEnd and DeviceFinalize
    for now, as we are facing an ordering issue causing SEGFAULTs.
    The OmptCallbackHandler is destructed early and the last OMPT events
    are handled by already destructed objects.
    
    As a consequence OMPT device finalization events will NOT be printed!
    
    Change-Id: I914dd07b1f0e82ba1a49ae72b95d2d6faf6899f2
    mhalk committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    07e28c5 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I6b97938b4a1aa3940dd430dd68c33bca9f1f3a05
    ronlieb committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    e1f46c9 View commit details
    Browse the repository at this point in the history
  6. device-libs: Remove unused builtin macro

    Change-Id: I44de7cc0d8e72ca2a18a6737c55b0af8edf84ef3
    arsenm committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    ec14d8f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    21840d2 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. merge main into amd-stg-open

    Change-Id: I77baa788a14a9d9babf3c2b15ec091eb6484ec13
    Jenkins committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    a283362 View commit details
    Browse the repository at this point in the history
  2. [OpenMP][OMPT] Add target_map* callback stubs

    Add them, since these are required by at least two smoke tests.
    The callbacks are not implemented and will therefore fail to register.
    (This is currently expected and checked for.)
    
    Change-Id: I393f65db56e543192e5fabf2dfd4017c807d4746
    mhalk authored and ronlieb committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    d67f6bc View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: Ie2258ca3ed0cc422c7316abf27e02a6005d5a7cc
    ronlieb committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    724f42a View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I9cbb8c072e1dd929a76fe6677505264f7673413f
    Jenkins committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    e78cd10 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. merge main into amd-stg-open

    Change-Id: I04971c9a3e4497561b5ebd9351ee0c01e7da7875
    Jenkins committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    8a6e1c3 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I9ebb62220b122ad5d1afdf624942c6a45ee3537b
    Jenkins committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    f1da797 View commit details
    Browse the repository at this point in the history
  3. [dwarfdump] missing dependence in SHARED build fnor AddressSpaceString

    Change-Id: Ib742ad8722ed815f3383d1e38716e2a26e7ab18a
    ronlieb committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    0566655 View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: Ieaa081f216b59d5fd339880c68982a94c59d47ef
    ronlieb committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    09d8e20 View commit details
    Browse the repository at this point in the history
  5. clang/OpenCL: Add inline implementations of sqrt in builtin header

    XFAILS new test: clang/test/CodeGenOpenCL/sqrt-fpmath.cl
    
    We want the !fpmath metadata to be attached to the sqrt intrinsic to
    make it to the backend lowering. Emit an available_externally
    definition which uses the builtin, which emits the !fpmath.
    
    Fixes #64264
    
    https: //reviews.llvm.org/D156743
    Change-Id: I590c7595d8df38ccbf0a3b458c255b44aa68255c
    arsenm authored and ronlieb committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    0733744 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. merge main into amd-stg-open

    Change-Id: I96387c5f83c925ba2c02f1ec001a5d1c6f8afa97
    Jenkins committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    feddd1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f195d7 View commit details
    Browse the repository at this point in the history
  3. [OpenMP][OMPT] Cleanup libomptest

    Split bigger files into more manageable units.
    Also try to group code which is amenable to git-clang-format.
    
    Fix warnings related to virtual DTORs.
    
    Change-Id: If0777495e41ec335cb9c8df588d30136328a116d
    mhalk authored and ronlieb committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    7c3a4e6 View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I3852b59511a07846d7663cc3615cefc1f4eeb4f7
    ronlieb committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    3c416c5 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: I5c5a0c783f9927288d79113cefc746e73d9ccaf4
    ronlieb committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    37d4964 View commit details
    Browse the repository at this point in the history
  6. Set default to O2 for OpenMP offload to amdgpu if no -O specified on …

    …command line
    
    Change-Id: I13a8a1dc5635a0d0b8c5f783ecec274bc7a54a5a
    gregrodgers authored and ronlieb committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    5e7c0a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. merge main into amd-stg-open

    Change-Id: I6e015b1cd2fc08e27f782ac1274c2e5bb53884fd
    Jenkins committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    1dcf551 View commit details
    Browse the repository at this point in the history
  2. [OpenMP][AMDGPU] Add usage of dynamic callstack to kernel launch

    Add symbol information requirement to kernels:
    `HSA_EXECUTABLE_SYMBOL_INFO_KERNEL_DYNAMIC_CALLSTACK`
    Add getter for environmental var `LIBOMPTARGET_STACK_SIZE` which is
    internally stored within `OMPX_TargetStackSize`.
    
    This info is used by AMDGPUKernelTy to set the scratch memory size,
    if the compiler is not able to determine a good value upon init.
    
    That may be the case when recursions or indirect function calls take
    place, or if an HSAIL alloca instruction is present in the kernel.
    
    Change-Id: I557a6b6e8bb8ec1bf66f678ba1ae9f0c13664fe1
    mhalk authored and ronlieb committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    a78da69 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0c597f View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I8d5167262218793a454fa976009d323fd88e95d1
    Jenkins committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    470e09c View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: Ie5b0ec9a0f89c770e29314cdc6ed0985554c5bb8
    Jenkins committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    b89e093 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. merge main into amd-stg-open

    Change-Id: Iac644dee360ab5365af40167722c38fe20e142a4
    Jenkins committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    df7d828 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I609f0054c371d3afe4f3062217ca3595c5c0c949
    Jenkins committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    5834026 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I4cc5ea9e9ff9d5f0e835718c003c5d5c30ec29ac
    Jenkins committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    3ac7ac2 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. merge main into amd-stg-open

    Change-Id: I39e60a87ac5d610dea38114a385f4c12e582ce86
    ronlieb committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    6cbc4dc View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: Iddb87e56a8e1841d90f22f305989db879fa9f1fa
    Jenkins committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    3e1c997 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I90c5ae7dc1cc6b6803353c11a3e19746440cf6eb
    Jenkins committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    504db3b View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. merge main into amd-stg-open

    Change-Id: I7cf329c8b0a0096b5a01fde3179b0bd3cdb7a99a
    Jenkins committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    fba067c View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I7f9d6452b432f6b9b2e789bf041a8267b7fde7f2
    ronlieb committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    8debdc5 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: Ifee4f8a4c5693d289177156d94ea61be53677aeb
    ronlieb committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    fc7ae48 View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I59dc5f2a8fe1b7cce3cc541629b46654cbcd80d5
    Jenkins committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    a896590 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: Id48f21bba656fad52478b1310a1d1dfece10b2bc
    ronlieb committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    d114283 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. merge main into amd-stg-open

    Change-Id: I97cbf0806051a97522f798a44a3d5bab90480394
    Jenkins committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    c5baf7a View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: If4a02b6cd777e3ca0f286c918bf612ef1ec63f9a
    ronlieb committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    b7aacd1 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. SWDEV-330775 - SWDEV-334083 - Compiler file re-org

      - llvm
        - Move llvm to lib/llvm
        - Create symlink llvm -> lib/llvm
    
    Change-Id: I774ecb710d426402fddc078b8c035dce0b8afaa6
    kzhuravl committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    487ce6d View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I497e060b135eb8eb7b7ad35bf43c53c6b0145bf0
    ronlieb committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    d188f6f View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: Ifa714fcf388fb2cb35410a9b6e2e2f38257d07e6
    Jenkins committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    9a889a2 View commit details
    Browse the repository at this point in the history
  4. SWDEV-330775 - SWDEV-334083 - Compiler file re-org

      - device-libs
        - Move amdgcn to lib/llvm/lib/clang/<ver>/lib/amdgcn
        - Create symlink amdgcn -> lib/llvm/lib/clang/<ver>/lib/amdgcn
    
    Change-Id: I9d0715c966fd962bfcbda8815ab8966f780b2268
    kzhuravl committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    f837877 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: Ief661bcea6c0205a4c0ba51aded0bc2b74ad4b10
    ronlieb committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    29d4583 View commit details
    Browse the repository at this point in the history
  6. [SROA] Create additional vector type candidates based on store and lo…

    …ad slices
    
    Second try at A-Wadhwani's https://reviews.llvm.org/D132096, which was reverted.
    The original patch had three issues:
    * https://reviews.llvm.org/D134032, which bjope kindly fixed. That patch is merged into this one.
    * [GHI #57796](llvm/llvm-project#57796). Fixed and added a test.
    * [GHI #57821](llvm/llvm-project#57821). I believe this is an undefined behavior which is not the fault of the original patch. Please see the issue for more details.
    
    Original diff summary:
    
    This patch adds additional vector types to be considered when doing promotion in
    SROA, based on the types of the store and load slices. This provides more
    promotion opportunities, by potentially using an optimal "intermediate" vector
    type.
    
    For example, the following code would currently not be promoted to a vector,
    since `__m128i` is a `<2 x i64>` vector.
    ```
    
    __m128i packfoo0(int a, int b, int c, int d) {
      int r[4] = {a, b, c, d};
      __m128i rm;
      std::memcpy(&rm, r, sizeof(rm));
      return rm;
    }
    ```
    ```
    packfoo0(int, int, int, int):
      mov     dword ptr [rsp - 24], edi
      mov     dword ptr [rsp - 20], esi
      mov     dword ptr [rsp - 16], edx
      mov     dword ptr [rsp - 12], ecx
      movaps  xmm0, xmmword ptr [rsp - 24]
      ret
    ```
    By also considering the types of the elements, we could find that the `<4 x i32>` type would be valid for promotion, hence removing the memory accesses for this function. In other words, we can explore other new vector types, with the same size but different element types based on the load and store instructions from the Slices, which can
    provide us more promotion opportunities.
    
    Additionally, the step for removing duplicate elements from the `CandidateTys` vector was not using an equality comparator, which has been fixed.
    
    Differential Revision: https://reviews.llvm.org/D143225
    
    Change-Id: I5b75f0a6ca59bc55af5202b0cb9d1641072cc95c
    zhuhan0 authored and ronlieb committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    acb9b61 View commit details
    Browse the repository at this point in the history
  7. [SROA] Fix bug where CandidateTys is appended while being iterated

    Fix a crash when compiling Skia. See https://reviews.llvm.org/D143225#4180342
    for more details
    
    Change-Id: I0779cbaa76f12ccf2327e234c19970ae9d3d2272
    zhuhan0 authored and ronlieb committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    4475bc2 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. merge main into amd-stg-open

    Change-Id: I1e4983691ff7eb6457484e8ccace2ded0084a4c1
    ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    24f0c6a View commit details
    Browse the repository at this point in the history
  2. Removed all occurences related to AQUA_VANJARAM (MI300) from ArchOffl…

    …oad's config files. They will be added again if they are made publicly available. In the meantime, HSA is used to detect all kinds of GFX94* devices.
    
    Change-Id: If2fcd3b3d4fff66115f31202eced08d9472cb673
    ThorBl authored and ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    9411b55 View commit details
    Browse the repository at this point in the history
  3. [clang][OpenMP] Fix target data if/logical expression assert fail

    Fixed assertion failure
    
      Basic Block in function 'main' does not have terminator!
      label %land.end
    
    caused by premature setting of CodeGenIP upon entry to
    emitTargetDataCalls, where subsequent evaluation of logical
    expression created new basic blocks, leaving CodeGenIP pointing to
    the wrong basic block. CodeGenIP is now set near the end of the
    function, just prior to generating a comparison of the logical
    expression result (from the if clause) which uses CodeGenIP to
    insert new IR.
    
    Fixes SWDEV-422794/AOMP issue #601
    
    Test already exists in smoke-fail/issue601_if_clause
    
    Change-Id: I792141db01b0f030705ec0742c9d9fb1255f036a
    ddpagan authored and ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    0099e4d View commit details
    Browse the repository at this point in the history
  4. [OpenMP][OMPT] Add event operators and improve QoL

    This implements the following event types:
      * DeviceInitialize
      * DeviceLoad
      * Target
      * TargetDataOp
      * TargetSubmit
    
    Add class equality operators
    Adapt CTORs for more convenient manual usage
    Fix errors in toString methods
    
    Change-Id: Id335e412a3c90bdc5ea1f691290c1bc84012b51c
    mhalk authored and ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    79fc893 View commit details
    Browse the repository at this point in the history
  5. Prepare check-openmp to be run with AOMP.

    Change-Id: I14f4df348163a9d019527f001a9df3d8a4c305b4
    
    This patch gets us one step closer to being able to run check-openmp.
    
    Summary of changes:
    - enable <TRIPLE>-LTO tests for non-AMDGPU architectures.
    - compile OpenMP offloading tests using the AOMP pattern which
      specifies -Xopenmp-target and -march,
    - enable the compiler selection to use the installed version of AOMP
      instead of using AOMP directly from the build folder
    - enables a way to run check-openmp for AOMP:
         AOMP=<path to rocm folder> AOMP_GPU=gfx90a make check-openmp
    - Overall, this brings down the number of check-openmp fails
      from 243 to 108.
    
    Change-Id: I14f4df348163a9d019527f001a9df3d8a4c305b4
    doru1004 authored and ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    bb9c8e8 View commit details
    Browse the repository at this point in the history
  6. merge main into amd-stg-open

    Change-Id: Ibf46e633bebbce5ef6067564e1e8ef9d605e2cf2
    Jenkins committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    d61107d View commit details
    Browse the repository at this point in the history
  7. [AMDGPU] __builtin_amdgcn_read_exec_* should be implemented with llvm…

    ….amdgcn.ballot
    
    Change-Id: I9016008de8ffaabee40870fe1254a7b1a1eb13c7
    ranapratap55 authored and ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    ac84482 View commit details
    Browse the repository at this point in the history
  8. Revert "[AMDGPU] __builtin_amdgcn_read_exec_* should be implemented w…

    …ith llvm.amdgcn.ballot"
    
    This reverts commit ac84482.
    
    premature
    
    Change-Id: I8fe8a0d7e5b30715e33c99bda0ed236e11cd5b4a
    ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    0bed763 View commit details
    Browse the repository at this point in the history
  9. merge main into amd-stg-open

    Change-Id: I828359e27d379e1dd2c1dcdbda7d1ca09dcbad00
    ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    364e5be View commit details
    Browse the repository at this point in the history
  10. Extended OffloadArch's device detection algorithm to use HSA as fallb…

    …ack to detect AMD GPUs for which the PCI ID is yet unkown.
    
    - Added new command line argument -hsa which enables the HSA detection
      algorithm.
    - Removed method getRuntimeCapabilities (no call-sites)
    - TODO: I will move the  method isHomogeniousSystemOf to the plugins. I don't see any
      reason for this method to be implemented in OffloadArch. The method
    doesn't work if the PCI ID of a GPU is unknown.
    
    Change-Id: Ia0fd44f6d5786eaf513296ac4d731c00d92170d6
    ThorBl authored and ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    bda39df View commit details
    Browse the repository at this point in the history
  11. Fix 513.soma , restore KEEP_ALIVE on Mapping.cpp IsSPMDMode

    Change-Id: I0a0c54ac90501f9b5d0b156259eeec021422c0a1
    ronlieb committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    4400ac2 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. merge main into amd-stg-open

    xfail: clang/test/Driver/cl-offload.cu
    xfail: llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx11.s
    
    Change-Id: Ibca6ffdf3e6b2b0fee56bfe40b391920b0025351
    Jenkins authored and ronlieb committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    7f62a0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5584655 View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I9419e45a805a02321ec4c958ba8cf26b471d27cb
    ronlieb committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    cbfd242 View commit details
    Browse the repository at this point in the history
  4. merge main into amd-stg-open

    Change-Id: I9d34efc5eda2ab4ba2b0b57d2310c20fa755bfb1
    ronlieb committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    82477a5 View commit details
    Browse the repository at this point in the history
  5. merge main into amd-stg-open

    Change-Id: Ie8605f374a310448a9b7641353842524b2fac184
    ronlieb committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    f7d7724 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2023

  1. merge main into amd-stg-open

    Change-Id: I47fb7c186f71a990c4445f28869f39df6d8288d1
    ronlieb committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    11fc067 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

    Change-Id: I1151032336b181c744802c2c2e710025fe14a8a4
    ronlieb committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    d7b2f19 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. merge main into amd-stg-open

    Change-Id: Ie4bec760ec88f7762d84a74535576420422b6af5
    ronlieb committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    7770344 View commit details
    Browse the repository at this point in the history
  2. merge main into amd-stg-open

      locally : reverts d3921e4 [OpenMP] Basic BumpAllocator for (AMD)GPUs (#69806)
    
    Change-Id: Id512e729870279855744ce65bfc69e2155fb68ee
    ronlieb committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    827559e View commit details
    Browse the repository at this point in the history
  3. merge main into amd-stg-open

    Change-Id: I9ba82077bfaf2baf4076840f90d133c617fa3605
    ronlieb committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    86244b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. merge main into amd-stg-open

    Change-Id: I86584ffca31489ab151a64cda1e10b99347d4a1e
    ronlieb committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    6198658 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e41d562 View commit details
    Browse the repository at this point in the history