Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit fdf168f

Browse files
committed
Fix the name of a variable to match its declaration. Fixes build failure from r177014.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177015 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 9d3f3c5 commit fdf168f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/X86/X86CodeEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ void Emitter<CodeEmitter>::emitVEXOpcodePrefix(uint64_t TSFlags,
10341034
if (HasVEX_4V)
10351035
VEX_4V = getVEXRegisterEncoding(MI, CurOp++);
10361036

1037-
if (MemOp4) // Skip second register source (encoded in I8IMM)
1037+
if (HasMemOp4) // Skip second register source (encoded in I8IMM)
10381038
CurOp++;
10391039

10401040
if (X86II::isX86_64ExtendedReg(MI.getOperand(CurOp).getReg()))

0 commit comments

Comments
 (0)