Mettle

Codes

Every diagnostic and optimizer decision the compiler can print. The same text is available as mettle explain <CODE>; these pages are generated from that table.

Compile diagnostics

Errors and warnings the compiler reports against your source. Every one is printed with a caret under the exact span, and every one is listed here.

Why a loop did not vectorize

The optimizer prints one of these in brackets after a NOT vectorized verdict. Each names the specific shape the loop had that no SIMD kernel could claim.

Why a call was not inlined

Printed after a NOT inlined verdict. The inliner declines for reasons that are all budget, shape, or contract, and each has a name.

What the optimizer applied

The positive verdicts. These say what the compiler did do, and what it had to prove first.