diff options
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 872f3d5d12a..0a530752662 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -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(); |