[llvm] r262799 - [X86] Remove unnecessary masking. The assert above it already guaranteed it. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 6 00:12:44 PST 2016
Author: ctopper
Date: Sun Mar 6 02:12:44 2016
New Revision: 262799
URL: http://llvm.org/viewvc/llvm-project?rev=262799&view=rev
Log:
[X86] Remove unnecessary masking. The assert above it already guaranteed it. NFC
Modified:
llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp?rev=262799&r1=262798&r2=262799&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp Sun Mar 6 02:12:44 2016
@@ -947,8 +947,6 @@ void X86MCCodeEmitter::EmitVEXOpcodePref
assert((VEX_5M & 0x3) == VEX_5M
&& "More than 2 significant bits in VEX.m-mmmm fields for EVEX!");
- VEX_5M &= 0x3;
-
EmitByte(0x62, CurByte, OS);
EmitByte((VEX_R << 7) |
(VEX_X << 6) |
More information about the llvm-commits
mailing list