[llvm] [BOLT][RISCV] Fix atomic-add operand order (PR #215493)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 11 02:48:36 PDT 2026
================
@@ -2,6 +2,9 @@
# RUN: %clang %cflags -Wl,-q -o %t.exe %s
# RUN: llvm-bolt --instrument --instrumentation-file=%t.fdata -o %t.instr %t.exe
+# RUN: llvm-objdump -d --no-show-raw-insn --disassemble-symbols=main %t.instr \
+# RUN: | FileCheck %s --check-prefix=INSTR
+# INSTR: amoadd.d zero, a1, (a0)
----------------
wangpc-pp wrote:
One question: where do we get this atomic instruction? I can't find the input.
https://github.com/llvm/llvm-project/pull/215493
More information about the llvm-commits
mailing list