mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 08:30:47 +03:00
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:
parent
b3b06d0cc7
commit
6264d45199
4 changed files with 1 additions and 22 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue