summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-10-29 22:03:07 +0000
committerBob Wilson <bob.wilson@apple.com>2010-10-29 22:03:07 +0000
commitf0b48f836e85e4e9ae3b5f94c47500d40e3dc16e (patch)
tree626b0e5ed58e1b1cab1919828056b054f75060bf /lib/Transforms/InstCombine/InstCombineVectorOps.cpp
parent822cb58d087ab67804037807e130273481b86137 (diff)
downloadllvm-f0b48f836e85e4e9ae3b5f94c47500d40e3dc16e.tar.gz
llvm-f0b48f836e85e4e9ae3b5f94c47500d40e3dc16e.tar.bz2
llvm-f0b48f836e85e4e9ae3b5f94c47500d40e3dc16e.tar.xz
Fix 80-column violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineVectorOps.cpp')
-rw-r--r--lib/Transforms/InstCombine/InstCombineVectorOps.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineVectorOps.cpp b/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
index 2ebaadba14..83a1dde97c 100644
--- a/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
+++ b/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));
}
}