From f3cf6bd8fead083b090624d8728f76c3feb13485 Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Tue, 10 Sep 2024 14:08:24 -0700 Subject: [PATCH] XFAIL amdgpu_unsafe_atomics.cpp due to b5e63cc533b https://github.com/intel/llvm/commit/b5e63cc533b5e752eb475ac657f09b9bb5eb2373 started to expand __builtin_amdgcn_global_atomic_fadd_ --- .../check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp b/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp index b045fdb99c8d5..d8cefd44003f0 100644 --- a/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp +++ b/sycl/test/check_device_code/hip/atomic/amdgpu_unsafe_atomics.cpp @@ -1,4 +1,5 @@ // REQUIRES: hip +// XFAIL: hip // RUN: %clangxx -fsycl -fsycl-targets=amd_gpu_gfx906 %s -S -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECK-SAFE // RUN: %clangxx -fsycl -fsycl-targets=amd_gpu_gfx906 %s -mllvm --amdgpu-oclc-unsafe-int-atomics=true -S -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECK-UNSAFE // RUN: %clangxx -fsycl -fsycl-targets=amd_gpu_gfx90a %s -mllvm --amdgpu-oclc-unsafe-fp-atomics=true -mllvm --amdgpu-oclc-unsafe-int-atomics=true -S -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECK-UNSAFE-FP @@ -38,4 +39,4 @@ SYCL_EXTERNAL void fpAtomicFunc(float *f, double *d) { // CHECK-UNSAFE-FP: llvm.amdgcn.global.atomic.fadd.f64 // CHECK-UNSAFE-FP-NOT: cmpxchg // CHECK: __CLANG_OFFLOAD_BUNDLE____END__ sycl-amdgcn-amd-amdhsa- -} \ No newline at end of file +}