[all-commits] [llvm/llvm-project] 891d68: [RISCV] Gate unratified profiles behind -menable-e...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Wed May 15 13:10:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 891d687137ad9bb3b4efae116f9539addb5be0ea
      https://github.com/llvm/llvm-project/commit/891d687137ad9bb3b4efae116f9539addb5be0ea
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M clang/test/Driver/riscv-profiles.c
    M llvm/lib/Target/RISCV/RISCVProfiles.td
    M llvm/lib/TargetParser/RISCVISAInfo.cpp
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Gate unratified profiles behind -menable-experimental-extensions (#92167)

As discussed in the last sync-up call, because these profiles are not
yet finalised they shouldn't be exposed to users unless they opt-in to
them (much like experimental extensions). We may later want to add a
more specific flag, but reusing `-menable-experimental-extensions`
solves the immediate problem.

This is implemented using the new support for marking profiles s
experimental added in #91993 to move the unratified profiles to
RISCVExperimentalProfile and making the necessary changes to logic in
RISCVISAInfo to handle this.



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