SiLU on LLVM CPU

Sigmoid Linear Unit (Swish)

⏳ PENDING — not yet measured

Operation

OperationSiLU (bpd_silu)
Formulaf(x) = x · sigmoid(x)
CategoryTranscendental (exp)

Kernel Specification (Prolog/Logtalk)

This is the backend-neutral op_expr fact that specifies the operation. The same term is lowered to LLVM IR, CUDA C, MLIR, and every other backend — one specification, many targets.

op_expr(bpd_silu,
    div(var,
        add(const(1.0), call(exp, neg(var))))).

Backend

BackendLLVM CPU (llvm_cpu)
Targetcpu
DescriptionLLVM IR targeting x86-64 CPU. Compiled with llc + clang.

Verification

This (operation, backend) pair has not yet been measured. When the backend emitter and verification infrastructure are ready, this cell will be tested against the PyTorch reference.