diff options
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp index e035c66b24a..3f47c9a6882 100644 --- a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp +++ b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp @@ -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; } |

