[MLIR] Fix broken link locations after move to monorepo
authorDaniel Galvez <dt.galvez@gmail.com>
Tue, 14 Jan 2020 07:13:42 +0000 (07:13 +0000)
committerMehdi Amini <aminim@google.com>
Tue, 14 Jan 2020 07:15:02 +0000 (07:15 +0000)
I used the codemod python tool to do this with the following commands:

codemod 'tensorflow/mlir/blob/master/include' 'llvm/llvm-project/blob/master/mlir/include'
codemod 'tensorflow/mlir/blob/master' 'llvm/llvm-project/blob/master/mlir'
codemod 'tensorflow/mlir' 'llvm-project/llvm'

Differential Revision: https://reviews.llvm.org/D72244

mlir/docs/Dialects/Vector.md
mlir/docs/Tutorials/Toy/Ch-7.md
mlir/examples/toy/Ch2/include/toy/Dialect.h
mlir/examples/toy/Ch3/include/toy/Dialect.h
mlir/examples/toy/Ch4/include/toy/Dialect.h
mlir/examples/toy/Ch5/include/toy/Dialect.h
mlir/examples/toy/Ch6/include/toy/Dialect.h
mlir/examples/toy/Ch7/include/toy/Dialect.h
mlir/examples/toy/README.md

index 79f7d6d..404f9cc 100644 (file)
@@ -114,10 +114,10 @@ vector.transfer_write %f1, %A[%i0, %i1, %i2, %i3]
 
 The list of VectorOps is currently undergoing evolutions and is best kept
 track of by following the evolution of the
-[VectorOps.td](https://github.com/tensorflow/mlir/blob/master/include/mlir/Dialect/VectorOps/VectorOps.td)
+[VectorOps.td](https://github.com/llvm/llvm-project/blob/master/mlir/include/mlir/Dialect/VectorOps/VectorOps.td)
 ODS file (markdown documentation is automatically generated locally when
 building and populates the [Vector
-doc](https://github.com/tensorflow/mlir/blob/master/g3doc/Dialects/Vector.md)). Recent
+doc](https://github.com/llvm/llvm-project/blob/master/mlir/docs/Dialects/Vector.md)). Recent
 extensions are driven by concrete use cases of interest. A notable such use
 case is the `vector.contract` op which applies principles of the StructuredOps
 abstraction to `vector` types. 
@@ -147,7 +147,7 @@ or the [VectorOuterProductOp
 lowering](https://github.com/tensorflow/mlir/commit/957b1ca9680b4aacabb3a480fbc4ebd2506334b8)). 
 
 Simple [conversion
-tests](https://github.com/tensorflow/mlir/blob/master/test/Conversion/VectorToLLVM/vector-to-llvm.mlir)
+tests](https://github.com/llvm/llvm-project/blob/master/mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir)
 are available for the `LLVM` target starting from the Virtual Vector Level. 
 
 # Rationale
@@ -223,7 +223,7 @@ granularity.
 Irrespective of the existence of an auto-vectorizer, one can build a notional
 vector language based on the VectorOps dialect and build end-to-end models
 with expressing `vector`s in the IR directly and simple
-pattern-rewrites. [EDSC](https://github.com/tensorflow/mlir/blob/master/g3doc/EDSC.md)s
+pattern-rewrites. [EDSC](https://github.com/llvm/llvm-project/blob/master/mlir/docs/EDSC.md)s
 provide a simple way of driving such a notional language directly in C++.
 
 # Bikeshed Naming Discussion
index 6298e82..b1872d5 100644 (file)
@@ -67,7 +67,7 @@ remain extremely efficient
 ([rationale](../../Rationale.md#reserving-dialect-type-kinds)). For `toy`, this
 means we need to explicitly reserve a static range of type `kind` values in the
 symbol registry file
-[DialectSymbolRegistry](https://github.com/tensorflow/mlir/blob/master/include/mlir/IR/DialectSymbolRegistry.def).
+[DialectSymbolRegistry](https://github.com/llvm/llvm-project/blob/master/mlir/include/mlir/IR/DialectSymbolRegistry.def).
 
 ```c++
 DEFINE_SYM_KIND_RANGE(LINALG) // Linear Algebra Dialect
index 385d6dd..7a8bbb1 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 //
 // This file implements the IR Dialect for the Toy language.
-// See g3doc/Tutorials/Toy/Ch-2.md for more information.
+// See docs/Tutorials/Toy/Ch-2.md for more information.
 //
 //===----------------------------------------------------------------------===//
 
index 385d6dd..7a8bbb1 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 //
 // This file implements the IR Dialect for the Toy language.
-// See g3doc/Tutorials/Toy/Ch-2.md for more information.
+// See docs/Tutorials/Toy/Ch-2.md for more information.
 //
 //===----------------------------------------------------------------------===//
 
index 5e8b91d..0375223 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 //
 // This file implements the IR Dialect for the Toy language.
-// See g3doc/Tutorials/Toy/Ch-2.md for more information.
+// See docs/Tutorials/Toy/Ch-2.md for more information.
 //
 //===----------------------------------------------------------------------===//
 
index 5e8b91d..0375223 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 //
 // This file implements the IR Dialect for the Toy language.
-// See g3doc/Tutorials/Toy/Ch-2.md for more information.
+// See docs/Tutorials/Toy/Ch-2.md for more information.
 //
 //===----------------------------------------------------------------------===//
 
index 5e8b91d..0375223 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 //
 // This file implements the IR Dialect for the Toy language.
-// See g3doc/Tutorials/Toy/Ch-2.md for more information.
+// See docs/Tutorials/Toy/Ch-2.md for more information.
 //
 //===----------------------------------------------------------------------===//
 
index 77481b1..a48712c 100644 (file)
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 //
 // This file implements the IR Dialect for the Toy language.
-// See g3doc/Tutorials/Toy/Ch-2.md for more information.
+// See docs/Tutorials/Toy/Ch-2.md for more information.
 //
 //===----------------------------------------------------------------------===//
 
index 53912c8..3946a5d 100644 (file)
@@ -3,5 +3,5 @@
 This contains sample code to support the tutorial on using MLIR for
 building a compiler for a simple Toy language.
 
-See [g3doc/Tutorials/Toy](../../g3doc/Tutorials/Toy) at the root of
-the repository for more informations.
+See [docs/Tutorials/Toy](../../docs/Tutorials/Toy) at the root of
+the project for more informations.