[all-commits] [llvm/llvm-project] c52a34: [AsmPrinter] add optimisation remark for target-fe...

Tomas Matheson via All-commits all-commits at lists.llvm.org
Thu Sep 10 03:54:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c52a3432d6a8187dd0f22ad1f8fde6774167dc89
      https://github.com/llvm/llvm-project/commit/c52a3432d6a8187dd0f22ad1f8fde6774167dc89
  Author: Tomas Matheson <Tomas.Matheson at arm.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    A clang/test/Frontend/optimization-remark-target-features-aarch64.c
    A clang/test/Frontend/optimization-remark-target-features-arm.c
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    A llvm/test/CodeGen/AArch64/optimization-remark-target-features.ll
    A llvm/test/CodeGen/ARM/optimization-remark-target-features.ll

  Log Message:
  -----------
  [AsmPrinter] add optimisation remark for target-features (#222074)

In clang we have `--print-enabled-extensions` which will print the
AArch64 extensions enabled for a given TU. However, sometimes it is
useful to be able to print out the actual subtarget features for each
function, for debugging/testing purposes. Add an optimisation remark for
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