[all-commits] [llvm/llvm-project] 416b7d: [flang] use DataLayout instead of GEP to compute e...

jeanPerier via All-commits all-commits at lists.llvm.org
Mon May 19 04:59:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 416b7dfaa0d114b552c596d320f0aaac5651e61e
      https://github.com/llvm/llvm-project/commit/416b7dfaa0d114b552c596d320f0aaac5651e61e
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/convert-to-llvm.fir
    M flang/test/Fir/copy-codegen.fir
    M flang/test/Fir/embox-char.fir
    M flang/test/Fir/embox-substring.fir

  Log Message:
  -----------
  [flang] use DataLayout instead of GEP to compute element size (#140235)

Now that the datalayout is part of codegen, use that to generate type
size constants in codegen instead of generating GEP.



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