[clang] [clang][CodeGen] Emit atomic IR in place of optimized libcalls. (PR #73176)

James Y Knight via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 10 12:00:05 PST 2024


================
@@ -7,22 +7,19 @@
 // RUN: %clang_cc1 -triple riscv64 -target-feature +a -O1 -emit-llvm %s -o - \
 // RUN:   | FileCheck %s -check-prefix=RV64IA
 
-// This test demonstrates that MaxAtomicInlineWidth is set appropriately when
----------------
jyknight wrote:

I think this test needs to be redone as a "-verify" test checking for diagnostics, like `clang/test/CodeGen/atomics-sema-alignment.c` does for aarch64, in order to continue testing what it's supposed to test.

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


More information about the cfe-commits mailing list