mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 07:14:26 +01:00
0f0f2bfa77
[X86] Convert esp-relative movs of function arguments to pushes, step 2 This moves the transformation introduced in r223757 into a separate MI pass. This allows it to cover many more cases (not only cases where there must be a reserved call frame), and perform rudimentary call folding. It still doesn't have a heuristic, so it is enabled only for optsize/minsize, with stack alignment <= 8, where it ought to be a fairly clear win. (Re-commit of r227728) Differential Revision: http://reviews.llvm.org/D6789 This helps to get sys/boot/i386/boot2 below the required size again, when optimizing with -Oz.
37 lines
708 B
Makefile
37 lines
708 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= llvmx86codegen
|
|
|
|
SRCDIR= lib/Target/X86
|
|
SRCS= X86AsmPrinter.cpp \
|
|
X86CallFrameOptimization.cpp \
|
|
X86FastISel.cpp \
|
|
X86FixupLEAs.cpp \
|
|
X86FloatingPoint.cpp \
|
|
X86FrameLowering.cpp \
|
|
X86ISelDAGToDAG.cpp \
|
|
X86ISelLowering.cpp \
|
|
X86InstrInfo.cpp \
|
|
X86MCInstLower.cpp \
|
|
X86MachineFunctionInfo.cpp \
|
|
X86PadShortFunction.cpp \
|
|
X86RegisterInfo.cpp \
|
|
X86SelectionDAGInfo.cpp \
|
|
X86Subtarget.cpp \
|
|
X86TargetMachine.cpp \
|
|
X86TargetObjectFile.cpp \
|
|
X86TargetTransformInfo.cpp \
|
|
X86VZeroUpper.cpp
|
|
|
|
TGHDRS= Intrinsics \
|
|
X86GenCallingConv \
|
|
X86GenDAGISel \
|
|
X86GenFastISel \
|
|
X86GenInstrInfo \
|
|
X86GenRegisterInfo \
|
|
X86GenSubtargetInfo
|
|
|
|
.include "../clang.lib.mk"
|