[all-commits] [llvm/llvm-project] 40cc7b: [clang][AArch64] test -cc1 -print-enabled-extensio...

Tomas Matheson via All-commits all-commits at lists.llvm.org
Wed Jun 11 03:45:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40cc7b4578fd2d65aaef8356fbe7caf2d84a8f3e
      https://github.com/llvm/llvm-project/commit/40cc7b4578fd2d65aaef8356fbe7caf2d84a8f3e
  Author: Tomas Matheson <Tomas.Matheson at arm.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    A clang/test/Frontend/aarch64-print-enabled-extensions-cc1.c

  Log Message:
  -----------
  [clang][AArch64] test -cc1 -print-enabled-extensions (#143570)

This adds tests that document how -cc1 and -print-enabled-extensions
interact. The current behaviour looks wrong, and is caused by the fact
that --print-enabled-extensions uses the MC subtarget feature API to
determine the list of extensions to print, whereas the frontend uses the
TargetParser API. The latter does no dependency expansion for the
-target-feature flags but the MC API does.

This doesn't fix anything but at least it documents the current
behaviour, and will serve as a pre-commit test for any future fixes.



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