M
Modular11mo ago
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.
2 Replies
ModularBot
ModularBot11mo ago
Congrats @jmky, you just advanced to level 5!
jmky
jmky11mo ago
@modularstaff
Want results from more Discord servers?
Add your server