[all-commits] [llvm/llvm-project] 75c356: [MLIR][LLVMIR] Always use TargetFolder in IRBuilde...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Feb 12 23:54:20 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75c356c488bf22cb3627fbde58140f239cf6a920
      https://github.com/llvm/llvm-project/commit/75c356c488bf22cb3627fbde58140f239cf6a920
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M flang/test/Fir/alloc.fir
    M flang/test/Fir/arrexp.fir
    M flang/test/Fir/box.fir
    M flang/test/Fir/embox.fir
    M flang/test/Fir/ignore-missing-type-descriptor.fir
    M flang/test/Fir/polymorphic.fir
    M flang/test/Fir/rebox.fir
    M flang/test/Integration/OpenMP/map-types-and-sizes.f90
    M flang/test/Integration/OpenMP/private-global.f90
    M flang/test/Lower/OpenMP/parallel-reduction-mixed.f90
    M flang/test/Lower/allocatable-polymorphic.f90
    M flang/test/Lower/forall/character-1.f90
    M flang/test/Lower/real-descriptors.f90
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-array-sectioning-host.mlir
    M mlir/test/Target/LLVMIR/omptarget-constant-indexing-device-region.mlir
    M mlir/test/Target/LLVMIR/omptarget-fortran-common-block-host.mlir
    M mlir/test/Target/LLVMIR/omptarget-record-type-with-ptr-member-host.mlir
    M mlir/test/Target/LLVMIR/openmp-private.mlir

  Log Message:
  -----------
  [MLIR][LLVMIR] Always use TargetFolder in IRBuilder (#126929)

This is a followup to https://github.com/llvm/llvm-project/pull/126745,
generalizing it to always use TargetFolder, including inside function
bodies.

This avoids generating non-canonical constant expressions that can be
folded away.



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