[all-commits] [llvm/llvm-project] a6592d: [AArch64] Mark neon.stN intrinsics as writeonly (#...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jul 1 06:56:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6592ddf4ed9d819b9074ff9a29ed988e826e53d
      https://github.com/llvm/llvm-project/commit/a6592ddf4ed9d819b9074ff9a29ed988e826e53d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-07-01 (Tue, 01 Jul 2025)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/include/llvm/IR/IntrinsicsARM.td
    M llvm/test/Analysis/BasicAA/cs-cs-arm.ll
    M llvm/test/Analysis/BasicAA/intrinsics-arm.ll
    M llvm/test/Assembler/aarch64-intrinsics-attributes.ll

  Log Message:
  -----------
  [AArch64] Mark neon.stN intrinsics as writeonly (#145289)

I found this peculiar comment in EarlyCSE:

https://github.com/llvm/llvm-project/blob/1c78d8d9d7bcb4b20910047ad7db35f177a17c8c/llvm/lib/Transforms/Scalar/EarlyCSE.cpp#L1620-L1624

Looking back over history, this seems to be referring to the
aarch64.neon.stN intrinsics, which are indeed not marked writeonly
(though the ldN intrinsics are readonly).

Possibly I'm missing something special about these intrinsics, but I
think it is safe to mark them as writeonly.



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