[all-commits] [llvm/llvm-project] ef9816: [AArch64][SME] Don't infer -neon from +streaming-sve.

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Mar 2 09:33:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef9816e43c1418da9b481dc750f04e8844f72ef5
      https://github.com/llvm/llvm-project/commit/ef9816e43c1418da9b481dc750f04e8844f72ef5
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
    M llvm/test/MC/AArch64/SME/streaming-mode-neon-bf16.s
    M llvm/test/MC/AArch64/SME/streaming-mode-neon-negative.s
    M llvm/test/MC/AArch64/SME/streaming-mode-neon.s
    M llvm/test/MC/AArch64/SME/streaming-sve-feature.s

  Log Message:
  -----------
  [AArch64][SME] Don't infer -neon from +streaming-sve.

In Streaming SVE mode full NEON is not available, even though this is
implied from armv8-a. LLVM previously inferred that NEON needed to be
disabled when setting +streaming-sve, but there is no need to infer
this from +streaming-sve, because we can explicitly disable NEON using
LLVM's attribute mechanism. This is specifically relevant because
+streaming-sve is not a user-facing feature, but rather an LLVM internal
feature.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D120809




More information about the All-commits mailing list