[all-commits] [llvm/llvm-project] 9164d2: [MLIR] Missing declaration build fix

Michael Kruse via All-commits all-commits at lists.llvm.org
Wed Jul 30 05:15:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9164d206b33d61c93f5fc4628797485f96d654ca
      https://github.com/llvm/llvm-project/commit/9164d206b33d61c93f5fc4628797485f96d654ca
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h

  Log Message:
  -----------
  [MLIR] Missing declaration build fix

The sanizer bots are reporting a missing declaration:

```
In file included from /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp:17:
In file included from /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/mlir/include/mlir/Dialect/LLVMIR/NVVMDialect.h:26:
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h:318:34: error: no type named 'CallBase' in namespace 'llvm'
  318 |                            llvm::CallBase *call,
      |                            ~~~~~~^
1 error generated.
```

https://lab.llvm.org/buildbot/#/builders/94/builds/9340
https://lab.llvm.org/buildbot/#/builders/24/builds/11029
https://lab.llvm.org/buildbot/#/builders/169/builds/13454
https://lab.llvm.org/buildbot/#/builders/25/builds/10250

PR #151302 removed some indirect header #includes which had to be
includes explicitly. I do not know why this particular error only occurs
with the sanitizer buildbots.

Fix by adding a forward declaration.



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