[all-commits] [llvm/llvm-project] 3ec1f2: [MLIR/OpenACC] Remove unneeded LLVMIR include (#84...

RoboTux via All-commits all-commits at lists.llvm.org
Sun Mar 10 06:10:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ec1f25f3cf9346590892397ec9ddd859397d363
      https://github.com/llvm/llvm-project/commit/3ec1f25f3cf9346590892397ec9ddd859397d363
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2024-03-10 (Sun, 10 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h

  Log Message:
  -----------
  [MLIR/OpenACC] Remove unneeded LLVMIR include (#84543)

MLIROpenACCTransforms does not use the LLVMIR dialect yet includes
LLVMIR headers. This causes building MLIROpenACCTransforms only from a
clean build to fail with:
In file included from
mlir/lib/Dialect/OpenACC/Transforms/LegalizeData.cpp:9:
In file included from
mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h:12:
mlir/include/mlir/Dialect/LLVMIR/Transforms/AddComdats.h:21:10: fatal
error: 'mlir/Dialect/LLVMIR/Transforms/Passes.h.inc' file not found

This patch removes the problematic includes.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list