mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-10 18:11:26 +00:00

Don't use AllocateStack because kernel arguments have nothing to do with the stack. The ensureMaxAlignment call was still changing the stack alignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273080 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
342 B
C++
16 lines
342 B
C++
#include "AMDGPUMachineFunction.h"
|
|
|
|
using namespace llvm;
|
|
|
|
// Pin the vtable to this file.
|
|
void AMDGPUMachineFunction::anchor() {}
|
|
|
|
AMDGPUMachineFunction::AMDGPUMachineFunction(const MachineFunction &MF) :
|
|
MachineFunctionInfo(),
|
|
KernArgSize(0),
|
|
MaxKernArgAlign(0),
|
|
LDSSize(0),
|
|
ABIArgOffset(0),
|
|
ScratchSize(0),
|
|
IsKernel(true) {}
|