forked from OSchip/llvm-project
[x86] Fix unused variable warning in no-asserts build.
llvm-svn: 213989
This commit is contained in:
parent
6da2d97a32
commit
0e469609f3
|
@ -1000,6 +1000,7 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
|||
const MachineConstantPoolEntry &MaskConstantEntry =
|
||||
Constants[MI->getOperand(5).getIndex()];
|
||||
Type *MaskTy = MaskConstantEntry.getType();
|
||||
(void)MaskTy;
|
||||
if (!MaskConstantEntry.isMachineConstantPoolEntry())
|
||||
if (auto *C = dyn_cast<ConstantDataSequential>(
|
||||
MaskConstantEntry.Val.ConstVal)) {
|
||||
|
|
Loading…
Reference in New Issue