Return true if vector elements of N shrink to NewEltSize.
Declared in <llvm/CodeGen/SelectionDAGNodes.h>
bool
isVectorShrinkable(
SDNode const* N,
unsigned int NewEltSize,
bool Signed);
Returns true if the specified node is a vector where all elements can be truncated to the specified element size without a loss in meaning.
True if elements can be truncated without loss of meaning.
| Name | Description |
|---|---|
| N | Node to inspect. |
| NewEltSize | Destination element size in bits. |
| Signed | Whether truncation is signed. |