mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
Move variable local to where ita used. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a6d61ac00
commit
a91ff63def
@ -5429,8 +5429,8 @@ static bool getTargetConstantBitsFromNode(SDValue Op, unsigned EltSizeInBits,
|
||||
unsigned BitOffset) {
|
||||
if (!Cst)
|
||||
return false;
|
||||
unsigned CstSizeInBits = Cst->getType()->getPrimitiveSizeInBits();
|
||||
if (isa<UndefValue>(Cst)) {
|
||||
unsigned CstSizeInBits = Cst->getType()->getPrimitiveSizeInBits();
|
||||
Undefs.setBits(BitOffset, BitOffset + CstSizeInBits);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user