[clang] [clang][CodeGen] Fix crash on non-natural type in CheckAtomicAlignment (PR #141053)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Thu May 22 05:48:47 PDT 2025
================
@@ -1,8 +1,6 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
-// RUN: %clang_cc1 -O0 -cl-std=CL2.0 -triple amdgcn-amd-amdhsa -target-cpu gfx942 \
-// RUN: %s -emit-llvm -o - | FileCheck %s
-
-// REQUIRES: amdgpu-registered-target
+// RUN: %clang_cc1 -O0 -cl-std=CL1.2 -triple amdgcn-amd-amdhsa -target-cpu gfx942 \
----------------
arsenm wrote:
I just realized you are testing with the flat atomic, so maybe this should stay as 2.0. I'm surprised it actually worked without flat address space
https://github.com/llvm/llvm-project/pull/141053
More information about the cfe-commits
mailing list