[clang] [llvm] [RISCV] Add riscv_atomic.h and Zawrs builtins (PR #96283)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 07:53:59 PST 2025


================
@@ -0,0 +1,33 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=riscv32 -mattr=+zawrs -verify-machineinstrs < %s \
+; RUN:   | FileCheck %s -check-prefix=RV32
+; RUN: llc -mtriple=riscv64 -mattr=+zawrs -verify-machineinstrs < %s \
+; RUN:   | FileCheck %s -check-prefix=RV64
+
+define void @wrs_nto() {
+; RV32-LABEL: wrs_nto:
----------------
topperc wrote:

Use a common CHECK prefix?

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


More information about the llvm-commits mailing list