[all-commits] [llvm/llvm-project] f10b0b: [clang][Interpreter] Do not overwrite the module's...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Sep 21 06:08:31 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f10b0b1554d31fdea2dd3963e179fa75ea2e262e
      https://github.com/llvm/llvm-project/commit/f10b0b1554d31fdea2dd3963e179fa75ea2e262e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M clang/lib/Interpreter/DeviceOffload.cpp
    M clang/lib/Interpreter/Wasm.cpp

  Log Message:
  -----------
  [clang][Interpreter] Do not overwrite the module's DataLayout (#224027)

The incremental CUDA device and Wasm executors reset the module's
DataLayout from TargetMachine::createDataLayout() before codegen. These 
modules are produced by clang's own CodeGen, so already have a datalayout so 
this is redundant. This also avoids using the TargetMachine copy of the datalayout, 
which will eventually be removed.

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