OSDN Git Service

[AArch64] Use MCAsmInfoMicrosoft and MCAsmInfoGNUCOFF as base classes
authorMartin Storsjo <martin@martin.st>
Mon, 23 Jul 2018 22:15:14 +0000 (22:15 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 23 Jul 2018 22:15:14 +0000 (22:15 +0000)
commit09465e9be5f48bc6bbea269645ba0f9d8de4fa78
tree4ccab2662c5d85bf46443e374fde923c19fb8f56
parent217be219024497894ca930fe6e7e64f532158621
[AArch64] Use MCAsmInfoMicrosoft and MCAsmInfoGNUCOFF as base classes

This matches the structure used on X86 and ARM. This requires
a little bit of duplication of the parts that are equal in both
AArch64 COFF variants though.

Before SVN r335286, these classes didn't add anything that MCAsmInfoCOFF
didn't, but now they do.

This makes AArch64 match X86 in how comdat is used for float constants
for MinGW.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337755 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.h
test/CodeGen/AArch64/win_cst_pool.ll [new file with mode: 0644]