[all-commits] [llvm/llvm-project] 37d1d0: [X86][MS] Change the alignment of f80 to 16 bytes ...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Sat Jan 22 17:59:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37d1d02200b9472082304c191f396f0489d00e05
      https://github.com/llvm/llvm-project/commit/37d1d02200b9472082304c191f396f0489d00e05
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2022-01-23 (Sun, 23 Jan 2022)

  Changed paths:
    M clang/lib/Basic/Targets/X86.h
    M clang/test/CodeGen/target-data.c
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Target/X86/X86TargetMachine.cpp
    M llvm/test/Bitcode/upgrade-datalayout3.ll
    A llvm/test/Bitcode/upgrade-datalayout4.ll
    M llvm/test/CodeGen/X86/long-double-abi-align.ll
    M llvm/test/CodeGen/X86/scalar-fp-to-i32.ll
    M llvm/test/CodeGen/X86/scalar-fp-to-i64.ll
    M llvm/unittests/Bitcode/DataLayoutUpgradeTest.cpp

  Log Message:
  -----------
  [X86][MS] Change the alignment of f80 to 16 bytes on Windows 32bits to match with ICC

MSVC currently doesn't support 80 bits long double. ICC supports it when
the option `/Qlong-double` is specified. Changing the alignment of f80
to 16 bytes so that we can be compatible with ICC's option.

Reviewed By: rnk, craig.topper

Differential Revision: https://reviews.llvm.org/D115942




More information about the All-commits mailing list