Code Monkey home page Code Monkey logo

mlir's Introduction

301 - Moved

MLIR is now part of LLVM, more information on https://mlir.llvm.org

The code from this repository can now be found at https://github.com/llvm/llvm-project/tree/main/mlir/

Migration

If you have a local fork of this repository or pull-requests that need to be migrated to the LLVM monorepo, the following recipe may help you:

# From your local MLIR clone:
$ git clone [email protected]:newren/git-filter-repo.git /tmp/git-filter-repo
$ /tmp/git-filter-repo/git-filter-repo --path-rename :mlir/ --force  --message-callback 'return re.sub(b"(#[0-9]+)", b"tensorflow/mlir\\1", message)' --refs <branch name>

After this, all the commits from the previous upstream MLIR should match the ones in the monorepo now. If you don't provide the --refs option, this will rewrite all the branches in your repo.

From there you should be able to rebase any of your branch/commits on top of the LLVM monorepo:

$ git remote set-url origin [email protected]:llvm/llvm-project.git
$ git fetch origin
$ git rebase origin/main -i

Cherry-picking commits should also work, if you checkout the main branch from the monorepo you can git cherry-pick <sha1> from your (rewritten) branches.

You can also export patches with git format-patch <range> and re-apply it on the monorepo using git am <patch file>.

mlir's People

Contributors

river707 avatar ftynse avatar jpienaar avatar antiagainst avatar lattner avatar joker-eph avatar gmngeoffrey avatar andydavis1 avatar liufengdb avatar bondhugula avatar chsigg avatar smit-hinsu avatar tatianashp avatar denis0x0d avatar pifon2a avatar aartbik avatar rsuderman avatar jingpu avatar benvanik avatar silvasean avatar dcaballe avatar schweitzpgi avatar thomasjoerg avatar kiszk avatar dimitriv avatar lucarfox avatar pkanwar23 avatar nmostafa avatar rmlarsen avatar ombre5733 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.