Skip to content

Conversation

@antiagainst
Copy link
Contributor

@antiagainst antiagainst commented Apr 24, 2020

Updated LLVM and TensorFlow SHA and fixed build configuration.

MLIR Linalg now adopts a two-level generation flow: some Linalg op's
op definitions are first generated by a dedicated TableGen backend into LinalgNamedStructuredOps.td and then that file is TableGen'ed into
C++ code. The include path needs to be updated to let TableGen find the
generated intermediate TD files.

MLIR Linalg now adopts a two-level TableGen flow: some Linalg op's
TableGen definition are first generated by a dedicated TableGen
backend into `LinalgNamedStructuredOps.td` and then that file is
TableGen'ed into C++ code. The path needs to be updated to let
TableGen find the generated intermediate TD files.
@antiagainst antiagainst changed the title Update LLVM and MLIR submodules and fix tblgen.bzl include path Fix Bazel and CMake build after LLVM integration Apr 25, 2020
@antiagainst antiagainst requested a review from GMNGeoffrey April 25, 2020 01:07
${PROJECT_SOURCE_DIR}/third_party/llvm-project/llvm/include
${PROJECT_BINARY_DIR}/third_party/llvm-project/llvm/include
${PROJECT_SOURCE_DIR}/third_party/llvm-project/mlir/include
${PROJECT_BINARY_DIR}/third_party/llvm-project/mlir/include
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is already listed right above?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
${PROJECT_BINARY_DIR}/third_party/llvm-project/mlir/include

${PROJECT_SOURCE_DIR}/third_party/llvm-project/llvm/include
${PROJECT_BINARY_DIR}/third_party/llvm-project/llvm/include
${PROJECT_SOURCE_DIR}/third_party/llvm-project/mlir/include
${PROJECT_BINARY_DIR}/third_party/llvm-project/mlir/include
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
${PROJECT_BINARY_DIR}/third_party/llvm-project/mlir/include

@GMNGeoffrey
Copy link
Contributor

GMNGeoffrey commented Apr 25, 2020

cmake build is still failing:

'mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterfaces.h.inc' file not found

I'd be ok still submitting this since it's at least a step in the right direction and I can pick it up on Monday

@antiagainst antiagainst deleted the llvm-integrate branch April 27, 2020 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants