mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 09:31:03 +03:00
Merge branch 'master' into merge-2.064
This commit is contained in:
commit
7f44320dd0
2 changed files with 8 additions and 2 deletions
|
@ -526,6 +526,12 @@ static void registerPredefinedTargetVersions() {
|
|||
VersionCondition::addPredefinedGlobalIdent("SPARC64");
|
||||
VersionCondition::addPredefinedGlobalIdent("D_HardFloat");
|
||||
break;
|
||||
case llvm::Triple::nvptx:
|
||||
VersionCondition::addPredefinedGlobalIdent("NVPTX");
|
||||
break;
|
||||
case llvm::Triple::nvptx64:
|
||||
VersionCondition::addPredefinedGlobalIdent("NVPTX64");
|
||||
break;
|
||||
default:
|
||||
error("invalid cpu architecture specified: %s", global.params.targetTriple.getArchName().str().c_str());
|
||||
fatal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue