fix typo
authorChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 22:32:54 +0000 (22:32 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 22:32:54 +0000 (22:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125787 91177308-0d34-0410-b5e6-96231b3b80d8

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;
 }