[clang] [llvm] [AArch64] Mark aarch64_set_fpmr as IntrWriteMem (PR #146353)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 1 03:10:45 PDT 2025
================
@@ -330,3 +330,6 @@ mfloat8x8_t test_vcvt_mf8_f16_fpm(float16x4_t vn, float16x4_t vm, fpm_t fpm) {
mfloat8x16_t test_vcvtq_mf8_f16_fpm(float16x8_t vn, float16x8_t vm, fpm_t fpm) {
return vcvtq_mf8_f16_fpm(vn, vm, fpm);
}
+
+// CHECK: declare void @llvm.aarch64.set.fpmr(i64) [[ATTR1:#.*]]
+// CHECK: attributes [[ATTR1]] = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }
----------------
paulwalker-arm wrote:
The test changes look manual? Which is going to make it awkward in the future. Perhaps add a dedicated test file for this specific purpose?
https://github.com/llvm/llvm-project/pull/146353
More information about the llvm-commits
mailing list