[llvm] r225155 - [X86] Remove unnecessary redeclaration of a variable with the same assignment as the beginning of the function. NFC.

Craig Topper craig.topper at gmail.com
Mon Jan 5 00:19:07 PST 2015


Author: ctopper
Date: Mon Jan  5 02:19:07 2015
New Revision: 225155

URL: http://llvm.org/viewvc/llvm-project?rev=225155&view=rev
Log:
[X86] Remove unnecessary redeclaration of a variable with the same assignment as the beginning of the function. NFC.

Modified:
    llvm/trunk/lib/Target/X86/MCTargetDesc/X86BaseInfo.h

Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86BaseInfo.h?rev=225155&r1=225154&r2=225155&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86BaseInfo.h (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86BaseInfo.h Mon Jan  5 02:19:07 2015
@@ -697,7 +697,6 @@ namespace X86II {
     case X86II::MRM2m: case X86II::MRM3m:
     case X86II::MRM4m: case X86II::MRM5m:
     case X86II::MRM6m: case X86II::MRM7m: {
-      bool HasVEX_4V = TSFlags & X86II::VEX_4V;
       unsigned FirstMemOp = 0;
       if (HasVEX_4V)
         ++FirstMemOp;// Skip the register dest (which is encoded in VEX_VVVV).





More information about the llvm-commits mailing list