[PATCH] R600: Handle gcn triple
Matt Arsenault
arsenm2 at gmail.com
Thu Dec 4 10:25:26 PST 2014
> On Dec 4, 2014, at 10:41 AM, Tom Stellard <thomas.stellard at amd.com> wrote:
>
> 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
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
This also needs to be handled in CGBuiltin and TargetInfo.cpp
More information about the cfe-commits
mailing list