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

Commit 6b68891

Browse files
committed
[X86] Simplify code by removing an unnecessary temporary variable. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316882 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 2e51b76 commit 6b68891

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Target/X86/X86EvexToVex.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,7 @@ bool EvexToVexInstPass::CompressEvexToVexImpl(MachineInstr &MI) const {
223223
if (usesExtendedRegister(MI))
224224
return false;
225225

226-
const MCInstrDesc &MCID = TII->get(NewOpc);
227-
MI.setDesc(MCID);
226+
MI.setDesc(TII->get(NewOpc));
228227
MI.setAsmPrinterFlag(AC_EVEX_2_VEX);
229228
return true;
230229
}

0 commit comments

Comments
 (0)