[llvm] [IR] Memory locations for floating-point operations (PR #226826)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 04:08:17 PDT 2026


================
@@ -2835,7 +2839,8 @@ std::optional<MemoryEffects> LLParser::parseMemoryAttr() {
     std::optional<ModRefInfo> MR = keywordToModRef(Lex.getKind());
     if (!MR) {
       if (Locs.empty())
-        tokError("expected memory location (argmem, inaccessiblemem, errnomem) "
+        tokError("expected memory location (argmem, inaccessiblemem, errnomem, "
+                 "fpcontrol, fpstatus) "
----------------
CarolineConcatto wrote:

Why are you adding this here:
fpcontrol, fpstatus
I think we can remove, mainly because in line 2868 you are not setting fp memory locations

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


More information about the llvm-commits mailing list