Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit a91ff63

Browse files
committed
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
1 parent 4a6d61a commit a91ff63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5429,8 +5429,8 @@ static bool getTargetConstantBitsFromNode(SDValue Op, unsigned EltSizeInBits,
54295429
unsigned BitOffset) {
54305430
if (!Cst)
54315431
return false;
5432-
unsigned CstSizeInBits = Cst->getType()->getPrimitiveSizeInBits();
54335432
if (isa<UndefValue>(Cst)) {
5433+
unsigned CstSizeInBits = Cst->getType()->getPrimitiveSizeInBits();
54345434
Undefs.setBits(BitOffset, BitOffset + CstSizeInBits);
54355435
return true;
54365436
}

0 commit comments

Comments
 (0)