[llvm] r328756 - [X86] Cleanup inheritance of the X86InstrFormats.td classes. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 28 20:14:56 PDT 2018
Author: ctopper
Date: Wed Mar 28 20:14:56 2018
New Revision: 328756
URL: http://llvm.org/viewvc/llvm-project?rev=328756&view=rev
Log:
[X86] Cleanup inheritance of the X86InstrFormats.td classes. NFC
EVEX shouldn't inherit from VEX and EVEX_4V shouldn't inherit from VEX_4V.
Modified:
llvm/trunk/lib/Target/X86/X86InstrFormats.td
Modified: llvm/trunk/lib/Target/X86/X86InstrFormats.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrFormats.td?rev=328756&r1=328755&r2=328756&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrFormats.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrFormats.td Wed Mar 28 20:14:56 2018
@@ -208,8 +208,8 @@ class VEX_WIG { bits<2> VEX_WPrefix = 2
class VEX_4V : VEX { bit hasVEX_4V = 1; }
class VEX_L { bit hasVEX_L = 1; }
class VEX_LIG { bit ignoresVEX_L = 1; }
-class EVEX : VEX { Encoding OpEnc = EncEVEX; }
-class EVEX_4V : VEX_4V { Encoding OpEnc = EncEVEX; }
+class EVEX { Encoding OpEnc = EncEVEX; }
+class EVEX_4V : EVEX { bit hasVEX_4V = 1; }
class EVEX_K { bit hasEVEX_K = 1; }
class EVEX_KZ : EVEX_K { bit hasEVEX_Z = 1; }
class EVEX_B { bit hasEVEX_B = 1; }
More information about the llvm-commits
mailing list