diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-10-29 22:03:07 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-10-29 22:03:07 +0000 |
commit | 9d07f39acee1e95d3d01b9e60ba502866ac8c470 (patch) | |
tree | 1c571d03fcb1a38253ccd18cc115d9c4b720b21a | |
parent | 11ee456e23d148929036a5e8401b410140389501 (diff) | |
download | bcm5719-llvm-9d07f39acee1e95d3d01b9e60ba502866ac8c470.tar.gz bcm5719-llvm-9d07f39acee1e95d3d01b9e60ba502866ac8c470.zip |
Fix 80-column violation.
llvm-svn: 117722
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp b/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp index 2ebaadba14b..83a1dde97c4 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp @@ -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)); } } |