[PATCH] R600: Handle gcn triple
Tom Stellard
thomas.stellard at amd.com
Thu Dec 4 07:41:06 PST 2014
For now there is no difference between gcn and r600.
---
lib/Basic/Targets.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp
index ae6a678..7d8fec4 100644
--- a/lib/Basic/Targets.cpp
+++ b/lib/Basic/Targets.cpp
@@ -6481,6 +6481,7 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple) {
case llvm::Triple::nvptx64:
return new NVPTX64TargetInfo(Triple);
+ case llvm::Triple::gcn:
case llvm::Triple::r600:
return new R600TargetInfo(Triple);
--
1.8.5.5
More information about the cfe-commits
mailing list