mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-30 17:02:29 +00:00
[InstCombine] clean up; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268099 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae143ce4db
commit
a5edb789b1
@ -898,7 +898,7 @@ Value *InstCombiner::SimplifyShrShlDemandedBits(Instruction *Shr,
|
||||
Value *InstCombiner::SimplifyDemandedVectorElts(Value *V, APInt DemandedElts,
|
||||
APInt &UndefElts,
|
||||
unsigned Depth) {
|
||||
unsigned VWidth = cast<VectorType>(V->getType())->getNumElements();
|
||||
unsigned VWidth = V->getType()->getVectorNumElements();
|
||||
APInt EltMask(APInt::getAllOnesValue(VWidth));
|
||||
assert((DemandedElts & ~EltMask) == 0 && "Invalid DemandedElts!");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user