[all-commits] [llvm/llvm-project] d80282: TargetParser: Add Triple::getDefaultFloatABI

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 21 00:39:57 PDT 2026


  Branch: refs/heads/users/arsenm/float-abi-triple-default
  Home:   https://github.com/llvm/llvm-project
  Commit: d80282e3821d67a6848dfb7e6ee335c000ed5909
      https://github.com/llvm/llvm-project/commit/d80282e3821d67a6848dfb7e6ee335c000ed5909
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-21 (Tue, 21 Jul 2026)

  Changed paths:
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/lib/Target/ARM/ARMTargetMachine.h
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/unittests/TargetParser/TripleTest.cpp

  Log Message:
  -----------
  TargetParser: Add Triple::getDefaultFloatABI

In order to eliminate TargetOptions ABI fields the front and
middle end need to know what value the backend is going to choose
for the ABI properties. This is similar to how we have
getDefaultExceptionHandling and getDefaultWCharSize.

The clang driver seems to have a different notion of which targets
are default soft. This followed ARMTargetMachine as the authority.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>



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