1. Jun 04, 2024
  2. Jun 03, 2024
    • Vladislav Dzhidzhoev's avatar
      [lldb][test] Add --make argument to dotest.py (#93883) · 6b7b05b5
      Vladislav Dzhidzhoev authored
      This argument allows to specify the path to make which is used by
      LLDB API tests to compile test programs.
      It might come in handy for setting up cross-platform remote runs of API tests on Windows host.
      
      It can be used to override the make path of LLDB API tests using `LLDB_TEST_USER_ARGS` argument:
      ```
      cmake ...
      -DLLDB_TEST_USER_ARGS="...;--make;C:\\Path\\to\\make.exe;..."
      ...
      ```
      6b7b05b5
    • A. Jiang's avatar
      [libc++] Fix regression about parsing leading decimal points (#93989) · ac4cca3c
      A. Jiang authored
      PR #77948 mistakenly rejected floating-point representation with a
      leading decimal point, e.g. ".5".
      
      This PR fixes the regression mentioned in
      https://github.com/llvm/llvm-project/pull/77948#issuecomment-2141740346.
      ac4cca3c
    • Nishith Kumar M Shah's avatar
      Pass LangOpts from CompilerInstance to DependencyScanningWorker (#93753) · 9862080b
      Nishith Kumar M Shah authored
      This commit fixes https://github.com/llvm/llvm-project/issues/88896 by
      passing LangOpts from the CompilerInstance to
      DependencyScanningWorker so that the original LangOpts are
      preserved/respected.
      This makes for more accurate parsing/lexing when certain language
      versions or features specific to versions are to be used.
      9862080b
    • jeanPerier's avatar
      [flang] lower select rank (#93967) · d1aa9bac
      jeanPerier authored
      Lower select rank according to [assumed-rank lowering design
      doc](https://github.com/llvm/llvm-project/blob/main/flang/docs/AssumedRank.md).
      
      The construct is lowered using fir.box_rank and fir.select_case
      operation and, for the non pointer/allocatable case, a
      fir.is_assumed_size + conditional branch before the select_case to deal
      with the assumed-size case.
      
      The way the CFG logic is generated, apart from the extra conditional
      branch for assumed-size, is similar to what is done for SELECT CASE
      lowering, hence the sharing of the construct level visitor. 
      For the CFG parts. The main difference is that we need to keep track of
      the selector to cook it and map it inside the cases (hence the new
      members of the ConstructContext).
      
      The only TODOs left are to deal with the RANK(*) case for polymorphic
      entities and PDTs. I will do the polymorphic case in a distinct patch,
      this patch has enough content.
      
      Fortran::evaluate::IsSimplyContiguous change  is needed to avoid generating
      copy-in/copy-out runtime calls when passing the RANK(*) associating
      entity to some implicit interface.
      d1aa9bac
    • Shilei Tian's avatar
      [OpenMP][OMPX] Fix ompx_ballot_sync test (#94140) · 4cd115ca
      Shilei Tian authored
      The current test is not really correct because the mask is set to
      0xffffffff
      even if it is on an AMDGPU whose wavefront size is 64. Besides,
      `__AMDGCN_WAVEFRONT_SIZE` is not set on host compilation so the
      verification
      happens to work.
      4cd115ca