fix typo
[oota-llvm.git] / lib / Transforms / InstCombine / InstCombinePHI.cpp
index a1aa2dff11a5936ad43a69e51637ff01c8168a4e..34d7ef3a3b0f200f3d2f1df27e4b24b01f5c3230 100644 (file)
@@ -209,7 +209,7 @@ Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) {
   GetElementPtrInst *NewGEP = 
     GetElementPtrInst::Create(Base, FixedOperands.begin()+1,
                               FixedOperands.end());
-  if (AllInBounds) NewGEP->setIsInbounds();
+  if (AllInBounds) NewGEP->setIsInBounds();
   return NewGEP;
 }