[all-commits] [llvm/llvm-project] 45a6c0: [flang] Control alignment of constant folded reals...

Eugene Epshteyn via All-commits all-commits at lists.llvm.org
Mon Jul 21 13:52:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45a6c02c2123f1d4764a8ad981193b15851df744
      https://github.com/llvm/llvm-project/commit/45a6c02c2123f1d4764a8ad981193b15851df744
  Author: Eugene Epshteyn <eepshteyn at nvidia.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M flang/include/flang/Evaluate/integer.h
    M flang/include/flang/Evaluate/real.h

  Log Message:
  -----------
  [flang] Control alignment of constant folded reals (#149381)

When REAL types are constant folded, the underneath implementation uses
arrays of integers. Ensure that these arrays are properly aligned.

This matters when building flang with clang. In some cases, the
resulting code for flang compiler ended up using SSE2 aligned load
instructions for REAL(16) constant folding on x86_64, and these
instructions require that the values are loaded from the aligned
addresses.



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