[PATCH] D155428: [AArch64] Force streaming-compatible codegen when attributes are set.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 01:37:41 PDT 2023


sdesmalen created this revision.
sdesmalen added reviewers: paulwalker-arm, MattDevereau, dtemirbulatov.
Herald added subscribers: ctetreau, hiraditya, kristof.beyls.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Before this patch, the only way to generate streaming-compatible code
was to use the `-force-streaming-compatible-sve` flag, but the compiler
should also avoid the use of instructions invalid in streaming mode
when a function has the aarch64_pstate_sm_enabled/compatible attribute.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155428

Files:
  llvm/lib/Target/AArch64/AArch64Subtarget.cpp
  llvm/lib/Target/AArch64/AArch64Subtarget.h
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/CodeGen/AArch64/sme-streaming-compatible-interface.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155428.540907.patch
Type: text/x-patch
Size: 10574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230717/d71f53b9/attachment.bin>


More information about the llvm-commits mailing list