Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: llvm-mirror/llvm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: unison-code/llvm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 17 files changed
  • 2 contributors

Commits on Sep 13, 2018

  1. Add llvm-tblgen '-unison' action to generate Unison target descriptions.

    Add a new action ('-unison') to llvm-tblgen that generates YAML code
    with a description of each instruction in the specified target
    (operands, itinerary, side-effects, etc.). The YAML code can be in its
    turn converted into Haskell code using Unison's 'specsgen' tool. The
    generated Haskell code is finally compiled and linked together with
    Unison.
    robcasloz committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    0937756 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2018

  1. Add support to print and parse MIR in Unison style.

    Extend 'MIRPrinter' and 'MIRParser' to support Unison-style MIR when
    using the '-unison-mir' flag. The Unison style extends the MIR
    representation with additional information needed by Unison, including
    basic block frequencies, function live-out registers, memory alias
    information, and simplified successor probabilities. When using the
    Unison-style, the 'MIRPrintingPass' requires now a preparation pass
    ('UnisonMIRPrepare') that computes execution frequencies and alias
    information.
    robcasloz committed Sep 15, 2018
    Configuration menu
    Copy the full SHA
    6421bd0 View commit details
    Browse the repository at this point in the history
  2. Handle empty basic blocks in Unison MIR preparation.

    Do not attach debug information to pseudo-instructions inserted by the
    Unison MIR preparation pass that are used exclusively to forward
    frequency information to Unison. This prevents a crash in the pass
    when empty basic blocks are handled.
    robcasloz committed Sep 15, 2018
    Configuration menu
    Copy the full SHA
    630f430 View commit details
    Browse the repository at this point in the history
  3. Avoid overflow for large block frequencies in Unison-style MIR.

    Use 64-bits ints to to avoid overflows when storing the fixpoint basic
    block frequencies from the 'BlockFrequency' class. Update the type in
    the corresponding metadata node emitted in the Unison-style MIR.
    Update the unison repo so that ints of different widths are accepted
    in metadata nodes.
    robcasloz committed Sep 15, 2018
    Configuration menu
    Copy the full SHA
    26d2adb View commit details
    Browse the repository at this point in the history
  4. Add 'llc-unison' tool.

    Add script to run 'llc' with Unison. The script runs llc twice
    to generate Unison's input, then Unison itself, and then llc
    again to emit the generated assembly code. It has the same
    interface as llc itself, plus a few additional flags to control
    Unison.
    robcasloz committed Sep 15, 2018
    Configuration menu
    Copy the full SHA
    e4979cb View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2018

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

Commits on Nov 21, 2018

  1. Emit pointer-like operands as register operands in 'llvm-tblgen'.

    Mats Carlsson authored and robcasloz committed Nov 21, 2018
    Configuration menu
    Copy the full SHA
    bd08891 View commit details
    Browse the repository at this point in the history
Loading