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

Phoebe Wang via All-commits all-commits at lists.llvm.org
Wed Jan 12 01:50:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bb0caf561688681be67cc91560348c9e43fcbf3
      https://github.com/llvm/llvm-project/commit/1bb0caf561688681be67cc91560348c9e43fcbf3
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2022-01-12 (Wed, 12 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
    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