Skip to content

func.unreachable

← func dialect

Terminate a direct function-body path that cannot reach the ordinary result-bearing return. Reaching this operation is undefined; it is not a runtime trap or assertion.

Operation contract

Property Value
Semantic phase executable
Traits Terminator

Signature

This operation has no operands, results, attributes, or regions.

Examples

func.unreachable