The assert message was previously ignored. This change adds a new helper function printStr to the runtime library and calls it in case of a failed assertion.
Depends On D138576
Differential D138647
[mlir][cf] Print message in cf.assert to LLVM lowering springerm on Nov 24 2022, 3:09 AM. Authored by
Details The assert message was previously ignored. This change adds a new helper function printStr to the runtime library and calls it in case of a failed assertion. Depends On D138576
Diff Detail
Event Timeline
Comment Actions I'm leaving a few high level comments first. I think this abortOnFailedAssert=false case should be handled by a separate test pass instead.
Comment Actions address comments
|