[libclc] 12/92: amdgcn,waitcnt: Add datalayout info

Andreas Boll aboll-guest at moszumanska.debian.org
Mon Nov 6 15:11:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

aboll-guest pushed a commit to branch master
in repository libclc.

commit 58f9eef531c3fe91ff9577fa3a91d01f3931e04d
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date:   Mon Sep 4 15:52:07 2017 +0000

    amdgcn,waitcnt: Add datalayout info
    
    This file is only compiled for GCN which all share the same layout
    
    Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
    Reviewed-by: Aaron Watry <awatry at gmail.com>
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@312493 91177308-0d34-0410-b5e6-96231b3b80d8
---
 amdgcn/lib/mem_fence/waitcnt.ll | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/amdgcn/lib/mem_fence/waitcnt.ll b/amdgcn/lib/mem_fence/waitcnt.ll
index 8be7f18..ccf016a 100644
--- a/amdgcn/lib/mem_fence/waitcnt.ll
+++ b/amdgcn/lib/mem_fence/waitcnt.ll
@@ -1,5 +1,7 @@
 declare void @llvm.amdgcn.s.waitcnt(i32) #0
 
+target datalayout = "e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64"
+
 ; Export waitcnt intrinsic for clang < 5
 define void @__clc_amdgcn_s_waitcnt(i32 %flags) #1 {
 entry:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list