Fix 80-column violation.
authorBob Wilson <bob.wilson@apple.com>
Fri, 29 Oct 2010 22:03:07 +0000 (22:03 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 29 Oct 2010 22:03:07 +0000 (22:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117722 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineVectorOps.cpp

index 2ebaadba14baf998e13d3cf6019deff3865a412c..83a1dde97c46b6fd1625f933bf3e826c4f540850 100644 (file)
@@ -225,8 +225,9 @@ Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) {
           SrcIdx -= LHSWidth;
           Src = SVI->getOperand(1);
         }
+        const Type *Int32Ty = Type::getInt32Ty(EI.getContext());
         return ExtractElementInst::Create(Src,
-                                          ConstantInt::get(Type::getInt32Ty(EI.getContext()),
+                                          ConstantInt::get(Int32Ty,
                                                            SrcIdx, false));
       }
     }