diff options
author | Jay Foad <jay.foad@gmail.com> | 2010-12-01 08:53:58 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2010-12-01 08:53:58 +0000 |
commit | 25a5e4ca1f8b85b1ffb831d64cbc60599a30b9d2 (patch) | |
tree | 4a2647226b89ed443992c4a1acf1e894583a4110 /llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp | |
parent | 669a31d6f758c53a20cc23d7aa86d53686c0c1e4 (diff) | |
download | bcm5719-llvm-25a5e4ca1f8b85b1ffb831d64cbc60599a30b9d2.tar.gz bcm5719-llvm-25a5e4ca1f8b85b1ffb831d64cbc60599a30b9d2.zip |
PR5207: Rename overloaded APInt methods set(), clear(), flip() to
setAllBits(), setBit(unsigned), etc.
llvm-svn: 120564
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp b/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp index af072b94e35..4aa1328f134 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp @@ -160,7 +160,7 @@ Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) { if (EI.getOperand(0)->hasOneUse() && VectorWidth != 1) { APInt UndefElts(VectorWidth, 0); APInt DemandedMask(VectorWidth, 0); - DemandedMask.set(IndexVal); + DemandedMask.setBit(IndexVal); if (Value *V = SimplifyDemandedVectorElts(EI.getOperand(0), DemandedMask, UndefElts)) { EI.setOperand(0, V); |