mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 05:31:37 +00:00
[X86] Fix Wunused-lambda-capture warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297521 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be5b44e27d
commit
653e2513f5
@ -5308,8 +5308,8 @@ static bool getTargetConstantBitsFromNode(SDValue Op, unsigned EltSizeInBits,
|
||||
};
|
||||
|
||||
// Collect constant bits and insert into mask/undef bit masks.
|
||||
auto CollectConstantBits = [SizeInBits](const Constant *Cst, APInt &Mask,
|
||||
APInt &Undefs, unsigned BitOffset) {
|
||||
auto CollectConstantBits = [](const Constant *Cst, APInt &Mask, APInt &Undefs,
|
||||
unsigned BitOffset) {
|
||||
if (!Cst)
|
||||
return false;
|
||||
unsigned CstSizeInBits = Cst->getType()->getPrimitiveSizeInBits();
|
||||
|
Loading…
Reference in New Issue
Block a user