ldc/gen/llvmhelpers.d
Martin Kinkelin 6264d45199 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).
2019-04-13 20:41:02 +02:00

22 lines
735 B
D
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//===-- gen/llvmhelpers.d - General LLVM codegen helpers ----------*- D -*-===//
//
// LDC the LLVM D compiler
//
// This file is distributed under the BSD-style LDC license. See the LICENSE
// file for details.
//
//===----------------------------------------------------------------------===//
//
// General codegen helper constructs for the D frontend.
//
//===----------------------------------------------------------------------===//
module gen.llvmhelpers;
import dmd.func;
import dmd.dtemplate;
/// Fixup an overloaded intrinsic name string.
extern (C++) void DtoSetFuncDeclIntrinsicName(TemplateInstance ti, TemplateDeclaration td, FuncDeclaration fd);
extern (C++) bool isTargetWindowsMSVC();