summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/MCTargetDesc
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-03-24 00:02:46 +0000
committerCraig Topper <craig.topper@intel.com>2018-03-24 00:02:46 +0000
commitbc6d2ec8cee1964b030995cb99927caec5a47839 (patch)
tree7ac90950b7687f4ca81f189a12cfe40bfdd2de61 /llvm/lib/Target/X86/MCTargetDesc
parent36a0f226b18355ee59c1948c784d88cb148776f4 (diff)
downloadbcm5719-llvm-bc6d2ec8cee1964b030995cb99927caec5a47839.tar.gz
bcm5719-llvm-bc6d2ec8cee1964b030995cb99927caec5a47839.zip
[X86] Correct the value AdSizeX in X86II enum. NFC
Should be NFC since nothing used the enum value. The instruction descriptions are generated from tablegen which had the correct value. llvm-svn: 328398
Diffstat (limited to 'llvm/lib/Target/X86/MCTargetDesc')
-rw-r--r--llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h b/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
index 8764527ae85..94536715682 100644
--- a/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
@@ -386,7 +386,7 @@ namespace X86II {
AdSizeShift = OpSizeShift + 2,
AdSizeMask = 0x3 << AdSizeShift,
- AdSizeX = 1 << AdSizeShift,
+ AdSizeX = 0 << AdSizeShift,
AdSize16 = 1 << AdSizeShift,
AdSize32 = 2 << AdSizeShift,
AdSize64 = 3 << AdSizeShift,
OpenPOWER on IntegriCloud