[all-commits] [llvm/llvm-project] 835cbf: [mlir][python] Make a number of imports relative.

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Fri Aug 6 00:24:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 835cbfa8cf6330e31498f751baae3df83eab076a
      https://github.com/llvm/llvm-project/commit/835cbfa8cf6330e31498f751baae3df83eab076a
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M mlir/python/mlir/dialects/linalg/opdsl/lang/affine.py
    M mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
    M mlir/python/mlir/dialects/linalg/opdsl/lang/config.py
    M mlir/python/mlir/dialects/linalg/opdsl/lang/dsl.py
    M mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py

  Log Message:
  -----------
  [mlir][python] Make a number of imports relative.

Avoiding absolute imports allows the code to be relocatable (which is used for out of tree integrations).

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




More information about the All-commits mailing list