1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Missed updating a GlobalISel bit in my last commit

GlobalISel isn't built by default so I missed it.

llvm-svn: 277030
This commit is contained in:
Matthias Braun 2016-07-28 20:13:42 +00:00
parent fe4b956a14
commit beb6304ac5

View File

@ -180,7 +180,7 @@ bool IRTranslator::translateStaticAlloca(const AllocaInst &AI) {
Alignment = DL->getABITypeAlignment(AI.getAllocatedType());
unsigned Res = getOrCreateVReg(AI);
int FI = MF.getFrameInfo()->CreateStackObject(Size, Alignment, false, &AI);
int FI = MF.getFrameInfo().CreateStackObject(Size, Alignment, false, &AI);
MIRBuilder.buildFrameIndex(LLT::pointer(0), Res, FI);
return true;
}