================
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -triple riscv64 -target-feature +zcmp -flto=full -emit-llvm
-o - %s | FileCheck %s
+// REQUIRES: riscv-registered-target
+
+asm(".globl func; func: cm.mvsa01 s1, s0; ret");
+
+// CHECK: module asm ".globl func; func: cm.mvsa01 s1, s0; ret"
+
+// CHECK: !{{.*}} = !{i32 5, !"global-asm-symbols", ![[SYM:[0-9]+]]}
----------------
asavonic wrote:
Right. Added `LTO/RISCV/global-inline-asm-flags.ll` (single module) test for
`llvm-lto2` and `llvm-nm`.
https://github.com/llvm/llvm-project/pull/174995
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits