[llvm] [RFC][Draft] Extend MemoryEffects to Support Target-Specific Memory L… (PR #148650)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 01:33:14 PDT 2025


================
@@ -567,6 +568,42 @@ define void @captures(ptr captures(address) %p) {
   ret void
 }
 
+; CHECK: define void @fpmr_write() [[ATTR59:#.*]] {
+define void @fpmr_write() inaccessiblewritememonly(fpmr) {
----------------
CarolineConcatto wrote:

If I understood  these tests should not be added, we only have this because of legacy code. Is that correct, if so all the support added for these tests to work should be removed.

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


More information about the llvm-commits mailing list