From 10646db916c8a623670e3c1829797e850f4de15d Mon Sep 17 00:00:00 2001 From: Robert Khasanov Date: Mon, 20 Oct 2014 19:25:05 +0000 Subject: [PATCH] Moved out IIT_V64 from common values section. Thanks Juergen Ributzka for notice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220224 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/Function.cpp | 10 +++++----- utils/TableGen/IntrinsicEmitter.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/IR/Function.cpp b/lib/IR/Function.cpp index 13747cafec9..9e622bdc99b 100644 --- a/lib/IR/Function.cpp +++ b/lib/IR/Function.cpp @@ -474,7 +474,7 @@ std::string Intrinsic::getName(ID id, ArrayRef Tys) { /// /// NOTE: This must be kept in synch with the copy in TblGen/IntrinsicEmitter! enum IIT_Info { - // Common values should be encoded with 0-16. + // Common values should be encoded with 0-15. IIT_Done = 0, IIT_I1 = 1, IIT_I8 = 2, @@ -489,11 +489,11 @@ enum IIT_Info { IIT_V8 = 11, IIT_V16 = 12, IIT_V32 = 13, - IIT_V64 = 14, - IIT_PTR = 15, - IIT_ARG = 16, + IIT_PTR = 14, + IIT_ARG = 15, - // Values from 17+ are only encodable with the inefficient encoding. + // Values from 16+ are only encodable with the inefficient encoding. + IIT_V64 = 16, IIT_MMX = 17, IIT_METADATA = 18, IIT_EMPTYSTRUCT = 19, diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp index 406a5f606b7..37f6de057da 100644 --- a/utils/TableGen/IntrinsicEmitter.cpp +++ b/utils/TableGen/IntrinsicEmitter.cpp @@ -225,7 +225,7 @@ EmitIntrinsicToOverloadTable(const std::vector &Ints, // NOTE: This must be kept in synch with the copy in lib/VMCore/Function.cpp! enum IIT_Info { - // Common values should be encoded with 0-16. + // Common values should be encoded with 0-15. IIT_Done = 0, IIT_I1 = 1, IIT_I8 = 2, @@ -240,11 +240,11 @@ enum IIT_Info { IIT_V8 = 11, IIT_V16 = 12, IIT_V32 = 13, - IIT_V64 = 14, - IIT_PTR = 15, - IIT_ARG = 16, + IIT_PTR = 14, + IIT_ARG = 15, - // Values from 17+ are only encodable with the inefficient encoding. + // Values from 16+ are only encodable with the inefficient encoding. + IIT_V64 = 16, IIT_MMX = 17, IIT_METADATA = 18, IIT_EMPTYSTRUCT = 19, -- 2.34.1