[all-commits] [llvm/llvm-project] 7ee2c7: [AArch64] Mark aarch64_set_fpmr as IntrWriteMem (#...

CarolineConcatto via All-commits all-commits at lists.llvm.org
Fri Jul 4 00:52:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ee2c72a8e5bbc8abd50f35e805d33006e4b0a4c
      https://github.com/llvm/llvm-project/commit/7ee2c72a8e5bbc8abd50f35e805d33006e4b0a4c
  Author: CarolineConcatto <caroline.concatto at arm.com>
  Date:   2025-07-04 (Fri, 04 Jul 2025)

  Changed paths:
    A clang/test/CodeGen/AArch64/attr-fp8-function.c
    M llvm/include/llvm/IR/IntrinsicsAArch64.td

  Log Message:
  -----------
  [AArch64] Mark aarch64_set_fpmr as IntrWriteMem (#146353)

llvm.aarch64.set.fpmr only writes to inaccessible memory. Tag it with
the IntrWriteMem and IntrInaccessibleMemOnly properties so the optimiser
can treat it as a pure write.

The original patch did not add this property, causing the intrinsic to
be conservatively treated as readwrite. This commit fixes that.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list