mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Fix inelegant initialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131538 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
657d1bed23
commit
d116611e0a
@ -598,8 +598,7 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
|
||||
unsigned VWidth =
|
||||
cast<VectorType>(II->getArgOperand(0)->getType())->getNumElements();
|
||||
unsigned LowHalfElts = VWidth / 2;
|
||||
APInt InputDemandedElts(VWidth, 0);
|
||||
InputDemandedElts = InputDemandedElts.getBitsSet(VWidth, 0, LowHalfElts);
|
||||
APInt InputDemandedElts(APInt::getBitsSet(VWidth, 0, LowHalfElts));
|
||||
APInt UndefElts(VWidth, 0);
|
||||
if (Value *TmpV = SimplifyDemandedVectorElts(II->getArgOperand(0),
|
||||
InputDemandedElts,
|
||||
|
Loading…
Reference in New Issue
Block a user