Returns the effective triple appropriate to use when linking B into A by merging the subarches in case of inexact match.
Declared in <llvm/TargetParser/AMDGPUTargetParser.h>
std::string
mergeSubArch(
Triple const& A,
Triple const& B);
In cases where isSubArchCompatible would return false, returns B. This assumes that the non-arch triple components are the same.
Effective triple string after merging the subarches.
| Name | Description |
|---|---|
| A | Destination/link-into triple. |
| B | Source/linked-from triple. |