[all-commits] [llvm/llvm-project] e3a606: tools: Compute the module DataLayout from the trip...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Sep 17 03:48:08 PDT 2026


  Branch: refs/heads/users/arsenm/llvm/tools-datalayout-from-triple
  Home:   https://github.com/llvm/llvm-project
  Commit: e3a60671764b93e2ba34a50bcb69cf57ae19efe0
      https://github.com/llvm/llvm-project/commit/e3a60671764b93e2ba34a50bcb69cf57ae19efe0
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/Assembler.cpp
    M llvm/tools/llvm-ir2vec/llvm-ir2vec.cpp
    M llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
    M llvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
    M llvm/tools/llvm-reduce/ReducerWorkItem.cpp

  Log Message:
  -----------
  tools: Compute the module DataLayout from the triple, not the TargetMachine

TargetMachine::createDataLayout is an unreliable cache given the existence
of module flags which change the datalayout, so this should be removed. Migrate
tool users to directly compute the datalayout.

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