[all-commits] [llvm/llvm-project] 631894: [CIR] Source LoweringPrepare target facts from the...

Konstantinos Parasyris via All-commits all-commits at lists.llvm.org
Fri Sep 18 09:19:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 631894f3408aa724e9f6f8ba9eedbc37860ece49
      https://github.com/llvm/llvm-project/commit/631894f3408aa724e9f6f8ba9eedbc37860ece49
  Author: Konstantinos Parasyris <koparasy at gmail.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M clang/include/clang/CIR/Dialect/Passes.td
    M clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp

  Log Message:
  -----------
  [CIR] Source LoweringPrepare target facts from the module (#219078)

LoweringPrepare reads a few target-derived facts (guard-variable width,
COMDAT format, _tlv_atexit/__cxa_thread_atexit selection) from the
ASTContext's TargetInfo.

This builds a LowerModule from the module's own cir.triple and reads
those facts from it instead, so target-derived lowering is consistent
with how the module was created rather than with the current invocation.

Co-authored-by: Claude Opus 4.8 (1M context) <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