[all-commits] [llvm/llvm-project] 83c778: [AArch64] Don't emit Neon in streaming[-compatible...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Thu Nov 21 03:02:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83c7784c35918ce037823f29d29918c5542cdf9c
      https://github.com/llvm/llvm-project/commit/83c7784c35918ce037823f29d29918c5542cdf9c
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/test/CodeGen/AArch64/zero-call-used-regs.ll

  Log Message:
  -----------
  [AArch64] Don't emit Neon in streaming[-compatible] functions with -fzero-call-used-regs (#116995)

Previously, with `-fzero-call-used-regs` clang/LLVM would incorrectly
emit Neon instructions in streaming functions, and streaming-compatible
functions without SVE.

With this change:

* In streaming functions, Z/p registers will be zeroed
* In streaming compatible functions w/o SVE, D registers will be zeroed
  - (As Neon vector instructions are illegal including `movi v..`)



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