diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2017-10-20 21:10:18 +0000 |
---|---|---|
committer | Jan Vesely <jan.vesely@rutgers.edu> | 2017-10-20 21:10:18 +0000 |
commit | c420b61b2650c935220b5cd6a7e000b198263774 (patch) | |
tree | 0d7bbfe987038c36894e71495b3b0070cb19e434 /libclc/amdgcn/lib/cl_khr_int64_extended_atomics | |
parent | 66b32ad9ad946a681c9fb8eea0e273bd2f0cf22f (diff) | |
download | llvm-c420b61b2650c935220b5cd6a7e000b198263774.zip llvm-c420b61b2650c935220b5cd6a7e000b198263774.tar.gz llvm-c420b61b2650c935220b5cd6a7e000b198263774.tar.bz2 |
amdgcn: Add missing datalayout info to .ll files
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Acked-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 316239
Diffstat (limited to 'libclc/amdgcn/lib/cl_khr_int64_extended_atomics')
-rw-r--r-- | libclc/amdgcn/lib/cl_khr_int64_extended_atomics/minmax_helpers.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libclc/amdgcn/lib/cl_khr_int64_extended_atomics/minmax_helpers.ll b/libclc/amdgcn/lib/cl_khr_int64_extended_atomics/minmax_helpers.ll index 7f12556..ec14179 100644 --- a/libclc/amdgcn/lib/cl_khr_int64_extended_atomics/minmax_helpers.ll +++ b/libclc/amdgcn/lib/cl_khr_int64_extended_atomics/minmax_helpers.ll @@ -1,3 +1,5 @@ +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" + define i64 @__clc__sync_fetch_and_min_global_8(i64 addrspace(1)* nocapture %ptr, i64 %value) nounwind alwaysinline { entry: %0 = atomicrmw volatile min i64 addrspace(1)* %ptr, i64 %value seq_cst |