Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to trigger `cf.assert` MLIR operations? - Modular
M
Modular
•
3y ago
•
2 replies
jmky
How to trigger `cf.assert` MLIR operations?
Suppose I have
let _ = __mlir_op.`cf.assert`[msg=__mlir_attr.`"ERROR"`](false)
let _ = __mlir_op.`cf.assert`[msg=__mlir_attr.`"ERROR"`](false)
The error is that it cannot infer the return type of the MLIR operation
.
How do I resolve it
?
Thank you
.
Modular
Join
This server is the home of the MAX and Mojo community! Join us to chat about all things Modular.
20,199
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
MLIR : does Mojo run on MLIR?
M
Modular / questions
3y ago
MLIR Docs
M
Modular / questions
2y ago
MLIR syntax
M
Modular / questions
3y ago
Python assert
M
Modular / questions
3y ago