[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:25:11 PDT 2025


================
@@ -0,0 +1,45 @@
+// 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
----------------
arsenm wrote:

It shouldn't actually 

https://github.com/llvm/llvm-project/pull/141053


More information about the cfe-commits mailing list