Skip to content
  1. May 03, 2023
  2. May 02, 2023
    • Michael Jones's avatar
      [libc][bazel] static link test targets · 48882561
      Michael Jones authored
      This solves issues caused by the symbols for internal components being
      marked as hidden. When dynamically linked, the tests of internal
      components, such as printf_parser_test, fail due to the symbols being
      unavailable.
      
      Reviewed By: sivachandra
      
      Differential Revision: https://reviews.llvm.org/D149674
      48882561
    • Jorge Gorbe Moya's avatar
      [lldb-vscode] Implement RestartRequest · 2b6c5bb9
      Jorge Gorbe Moya authored
      This is an optional request, but supporting it makes the experience
      better when re-launching a big binary that takes significant time to
      parse: instead of tearing down and re-create the whole session we just
      need to kill the current process and launch a new one.
      
      Some non-obvious comments that might help review this change:
      
      * After killing the process, we get an "exited" event for it. Because
        the process no longer exists some interesting things can occur that
        manifest as flaky failures if not dealt with:
      
        - `EventIsProcessEvent` relies on `SBEvent::GetBroadcasterClass`,
          which can crash if the broadcaster is no longer there: the event
          only holds a weak_ptr to its broadcaster, and `GetBroadcasterClass`
          uses it without checking.
      
          Other `EventIs*` functions look at the flavor of the EventData, so I
          have modified EventIsProcessEvent to do that.
      
        - We keep the PID of the old process so we can detect its "exited"
          event and not terminate the whole session. But sometimes the
          SBProcess we get from the event won't have a PID, for some reason.
      
      * I have factored out the code to launch a process out to a new
        LaunchProcess function, so it can be used from both `request_launch`
        and `request_restart`.
      
      * The restart_runInTerminal test has the same problem with debug builds
        as the original runInTerminal test: when attaching to the launcher
        instance of lldb-vscode it takes a long time to parse its debug info.
        I have used the same workaround to disable that particular test for
        debug builds.
      
      Differential Revision: https://reviews.llvm.org/D147831
      2b6c5bb9
    • Louis Dionne's avatar
      [clang] Build the ToT Clang in Release mode in the Clang/libcxx CI pipeline · c64f10bf
      Louis Dionne authored
      This is an attempt to reduce the insane amount of network we use when
      uploading Clang binaries to Buildkite for other jobs to use. We think
      that removing debug information will result in much smaller binaries.
      c64f10bf
    • Andrzej Warzynski's avatar
      [mlir][SparseTensor][ArmSVE] Disable scalable vectorisation in a test · 20bf8c40
      Andrzej Warzynski authored
      The MLIR SVE integration tests are now enabled in the
      clang-aarch64-full-2stage buildbot under emulation (QEMU) and one of the
      sparse integration tests is failing [1]:
      
        * Integration/Dialect/SparseTensor/CPU/concatenate_dim_1.mlir
      
      That test is failing because we we don't have a LIT substitution to
      replace:
        ```
        ; RUN: mlir-cpu-runner <command>
        ```
      with
        ```
        ; RUN: <emulator> mlir-cpu-runner <command>
        ```
      clang-aarch64-full-2stage does not support SVE natively and hence all
      SVE integration tests require emulation. Other SVE tests use `lli` (for
      which we do have the required substitution) and hence are not affected.
      
      This patch simplifies concatenate_dim_1.mlir to always use fixed-width
      vectorisation. We will re-enable scalable vectorisation once LIT
      substitutions for `mlir-cpu-runner` are updated.
      
      [1] https://lab.llvm.org/buildbot/#/builders/179/builds/6062
      20bf8c40
    • spupyrev's avatar
      [BOLT][NFC] Add hash computation for basic blocks · 3e3a926b
      spupyrev authored
      Extending yaml profile format with block hashes, which are used for stale
      profile matching. To avoid duplication of the code, created a new class with a
      collection of utilities for computing hashes.
      
      Reviewed By: Amir
      
      Differential Revision: https://reviews.llvm.org/D144306
      3e3a926b
    • Alexey Bataev's avatar
    • Matt Arsenault's avatar
    • Dávid Bolvanský's avatar
      [MachineInst] Switch NumOperands to 16bits · 20831c3c
      Dávid Bolvanský authored
      Decrease NumOperands from 32 to 16bits (matches MCInstrDesc) so we can use saved bits to extend Flags (https://reviews.llvm.org/D118118).
      
      Reviewed By: barannikov88
      
      Differential Revision: https://reviews.llvm.org/D149445
      20831c3c
    • Trevor Morris's avatar
      Add tensor.bitcast op to Tensor dialect · 486a2ca5
      Trevor Morris authored
      Add tensor.bitcast operator to bitcast between two tensors of compatible shape
      and same bit width. This can be use to reinterpret an unsigned integer as a
      signed integer or vice versa.
      
      Reviewed By: rsuderman
      
      Differential Revision: https://reviews.llvm.org/D149608
      486a2ca5
    • Teresa Johnson's avatar
      [MemProf] Removed unused allocation type · e0577ce3
      Teresa Johnson authored
      Removes the 'notcoldandcold' allocation type summary
      (de)serialization support added in D135714, after realizing that this
      will never be generated in practice.
      
      There are 2 uses of the allocation type keywords in the summary. One is
      for the individual profiled memprof context summaries, and each context
      can only be assigned a single type of hotness. The second is in the
      clone version information produced by the MemProfContextDisambiguation
      whole program step, and we only create a clone for a specific allocation
      type.
      
      Differential Revision: https://reviews.llvm.org/D149669
      e0577ce3
    • Vitaly Buka's avatar
      [CodeGen] Fix signed int overflow · 1c61accb
      Vitaly Buka authored
      Exposed by the test from 8f966ced.
      1c61accb
    • Jonas Devlieghere's avatar
      [lldb] Assert on invalid index in OptionValueProperties (NFC) · 8b683602
      Jonas Devlieghere authored
      All indexes passed to GetPropertyAtIndex are constants generated by
      ablegen. We should never pass an invalid index.
      8b683602
    • Florian Hahn's avatar
      [ShrinkWrap] Add tests with loads from byval/inalloca/preallocated args. · bc1c95d9
      Florian Hahn authored
      Extra test coverage for D149668.
      bc1c95d9
Loading