[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)
commitc2b701408e3a94df1dcdc96ed2891ca916441a87
treeb140732d811dfe7f7b1678012dd02894e1def25b
parent64142ba98b4fec52f29fa15ed8c7c1e823bee8b1
[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

llvm-svn: 337755
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.h
llvm/test/CodeGen/AArch64/win_cst_pool.ll [new file with mode: 0644]