Get rid of superfluous LDC-specific TypeBasic.alignment() override

16 is LLVM's default alignment for x87 floats and x86_64 targets
(verified for Linux and macOS).
This commit is contained in:
Martin Kinkelin 2019-04-13 20:40:52 +02:00
parent b3b06d0cc7
commit 6264d45199
4 changed files with 1 additions and 22 deletions

View file

@ -63,10 +63,6 @@ llvm::cl::opt<llvm::GlobalVariable::ThreadLocalMode> clThreadModel(
* Simple Triple helpers for DFE
* TODO: find better location for this
******************************************************************************/
bool isArchx86_64() {
return global.params.targetTriple->getArch() == llvm::Triple::x86_64;
}
bool isTargetWindowsMSVC() {
return global.params.targetTriple->isWindowsMSVCEnvironment();
}