================
@@ -0,0 +1,81 @@
+// RUN: %clang_cc1 -triple aarch64 -target-feature +sve %s -emit-llvm -o - | 
FileCheck %s
+
+#include <stdint.h>
+
+// CHECK-LABEL: @__SVInt8_t_fun(
+// CHECK: store <vscale x {{[0-9]*}} x i8> splat (i8 123), ptr %[[RETPTR:.*]]
+// CHECK: %[[RETVAL:.*]] = load <vscale x {{[0-9]*}} x i8>, ptr %[[RETPTR]]
+// CHECK: ret <vscale x {{[0-9]*}} x i8> %[[RETVAL]]
+extern "C" {
----------------
pawosm-arm wrote:

Ok, so the labels could be adjusted and be mangling-resistant. I've also added 
test cases for assignment.

https://github.com/llvm/llvm-project/pull/205432
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to