You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered an error when using ClangIR through the MLIR to LLVMIR path. The direct path from CIR to LLVMIR works correctly, but the path through MLIR fails. Is there a plan in the ClangIR project to support the complete pathway from CIR through MLIR to LLVM IR for generating executable files?
loc(fused["/usr/include/stdio.h":363:1, "/usr/include/stdio.h":363:56]): error: 'func.func' op symbol declaration cannot have public visibility
fatal error: error in backend: The pass manager failed to lower CIR to LLVMIR dialect!
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
Different folks have been involved with paving that path, mostly recently @keryell, if you want to work on that y'all can sync on that.
bcardosolopes
changed the title
Is there a plan to support the complete CIR→MLIR→LLVM IR executable generation pathway?
ThroughMLIR path status
Feb 26, 2025
bcardosolopes
changed the title
ThroughMLIR path status
[Umbrella] ThroughMLIR path status
Feb 26, 2025
Issue Description
Encountered an error when using ClangIR through the MLIR to LLVMIR path. The direct path from CIR to LLVMIR works correctly, but the path through MLIR fails. Is there a plan in the ClangIR project to support the complete pathway from CIR through MLIR to LLVM IR for generating executable files?
Steps to Reproduce
Execution result:
Error message:
The text was updated successfully, but these errors were encountered: