Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for preparing this patch. I think adding the mlir:: namespace fixes the compilation issue.
flang/include/flang/Optimizer/Dialect/FIRTypes.td | ||
---|---|---|
494–497 |
Comment Actions
Thanks once again.
As @clementval mentioned, this could have been part of the original patch as well. I think patches to MLIR also go through a precommit CI (triggered by phabricator) so you get to know whether the patch works as expected for Flang. You can also check flang by using the following commands after cloning llvm-project and creating and switching to a build directory.
cmake -G Ninja ../llvm -DLLVM_ENABLE_PROJECTS="mlir;flang;clang" -DLLVM_TARGETS_TO_BUILD=host -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON ninja check-flang