mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-15 16:07:49 +00:00
Remove allocation of unused stack slot.
llvm-svn: 57987
This commit is contained in:
parent
89f4df3eae
commit
c146b1b281
@ -4731,12 +4731,6 @@ SDValue X86TargetLowering::LowerUINT_TO_FP(SDValue Op, SelectionDAG &DAG) {
|
||||
}
|
||||
*/
|
||||
|
||||
// Get a XMM-vector-sized stack slot.
|
||||
unsigned Size = 128/8;
|
||||
MachineFunction &MF = DAG.getMachineFunction();
|
||||
int SSFI = MF.getFrameInfo()->CreateStackObject(Size, Size);
|
||||
SDValue StackSlot = DAG.getFrameIndex(SSFI, getPointerTy());
|
||||
|
||||
// Build some magic constants.
|
||||
std::vector<Constant*>CV0;
|
||||
CV0.push_back(ConstantInt::get(APInt(32, 0x45300000)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user