ΒΆbool isNullOrNullSplat(llvm::SDValue V,
bool AllowUndefs = false)
bool isNullOrNullSplat(llvm::SDValue V,
bool AllowUndefs = false)
Description
Return true if the value is a constant 0 integer or a splatted vector of a constant 0 integer (with no undefs by default). Build vector implicit truncation is not an issue for null values.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1701
Parameters
- llvm::SDValue V
- bool AllowUndefs = false