Return true if the value is a (+/‐)0.0 FP constant or splat.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

bool
isZeroOrZeroSplatFP(
    SDValue N,
    bool AllowUndefs = false);

Return Value

True if the value is a constant (+/‐)0.0 floating‐point value or a splatted vector thereof (with no undefs).

Parameters

Name

Description

N

Value to test.

AllowUndefs

Whether undef elements are permitted.

Created with MrDocs