[all-commits] [llvm/llvm-project] 18f765: [Clang][Wasm] Set __float128 alignment to 64 for e...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jul 8 01:21:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18f7655178a69daa52f4d4ef56169b90efc7f601
      https://github.com/llvm/llvm-project/commit/18f7655178a69daa52f4d4ef56169b90efc7f601
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M clang/lib/Basic/Targets/OSTargets.h
    M clang/lib/CodeGen/CodeGenModule.cpp

  Log Message:
  -----------
  [Clang][Wasm] Set __float128 alignment to 64 for emscripten (#146494)

https://reviews.llvm.org/D104808 set the alignment of long double to 64
bits. This is also the alignment specified in the LLVM data layout.
However, the alignment of __float128 was left at 128 bits.

I assume that this was just an oversight, rather than an intentional
divergence. The C ABI document currently does not make any statement
about `__float128`:
https://github.com/WebAssembly/tool-conventions/blob/main/BasicCABI.md



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