From: Craig Topper Date: Thu, 29 Mar 2018 03:14:56 +0000 (+0000) Subject: [X86] Cleanup inheritance of the X86InstrFormats.td classes. NFC X-Git-Tag: llvmorg-7.0.0-rc1~9421 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7441ffff84c1afee3d3d4bfef04021c2549ed474;p=platform%2Fupstream%2Fllvm.git [X86] Cleanup inheritance of the X86InstrFormats.td classes. NFC EVEX shouldn't inherit from VEX and EVEX_4V shouldn't inherit from VEX_4V. llvm-svn: 328756 --- diff --git a/llvm/lib/Target/X86/X86InstrFormats.td b/llvm/lib/Target/X86/X86InstrFormats.td index ba8e077..6cf6781 100644 --- a/llvm/lib/Target/X86/X86InstrFormats.td +++ b/llvm/lib/Target/X86/X86InstrFormats.td @@ -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; }