[all-commits] [llvm/llvm-project] 763131: opt: Add -enable-builtin flag (#145808)

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 8 01:26:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 763131ba7f247a36894a33c9d295b2253d88f9c1
      https://github.com/llvm/llvm-project/commit/763131ba7f247a36894a33c9d295b2253d88f9c1
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

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

  Log Message:
  -----------
  opt: Add -enable-builtin flag (#145808)

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