summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-03-29 03:14:56 +0000
committerCraig Topper <craig.topper@intel.com>2018-03-29 03:14:56 +0000
commit7441ffff84c1afee3d3d4bfef04021c2549ed474 (patch)
treede7e7d42c96f2ed89417a5d136d2e9ac5f9c4bc7
parentaf0b06f4fd813191e123716b08458edfdf073a1f (diff)
downloadbcm5719-llvm-7441ffff84c1afee3d3d4bfef04021c2549ed474.tar.gz
bcm5719-llvm-7441ffff84c1afee3d3d4bfef04021c2549ed474.zip
[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
-rw-r--r--llvm/lib/Target/X86/X86InstrFormats.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86InstrFormats.td b/llvm/lib/Target/X86/X86InstrFormats.td
index ba8e077c433..6cf6781e038 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; }
OpenPOWER on IntegriCloud