[all-commits] [llvm/llvm-project] 8a6801: opt: Add -enable-builtin flag

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jun 25 16:17:01 PDT 2025


  Branch: refs/heads/users/arsenm/opt/add-enable-builtin-flag
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a68017f188b4130034f65d24a0ac0ae14ed2597
      https://github.com/llvm/llvm-project/commit/8a68017f188b4130034f65d24a0ac0ae14ed2597
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    A llvm/test/Transforms/InferFunctionAttrs/enable-builtin.ll
    M llvm/tools/opt/optdriver.cpp

  Log Message:
  -----------
  opt: Add -enable-builtin flag

Currently TargetLibraryInfo assumes ~everything is available, and
specific triples (or the -disable-builtin) flag, opt-out. This is a
backwards system, where features should only be positively be enabled
when known. Add this flag to help migrate tests with no triple.



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