Merge undef elements from Other into constant C.
Declared in <llvm/IR/Constant.h>
static
Constant*
mergeUndefsWith(
Constant* C,
Constant* Other);
Merges undefs of a Constant with another Constant, along with the undefs already present. Other doesn't have to be the same type as C, but both must either be scalars or vectors with the same element count. If no changes are made, the constant C is returned.
The merged constant, or C if unchanged.
| Name | Description |
|---|---|
| C | The constant whose undefs are merged. |
| Other | The constant providing additional undef lanes. |