diff options
author | Robert Khasanov <rob.khasanov@gmail.com> | 2014-10-20 19:25:05 +0000 |
---|---|---|
committer | Robert Khasanov <rob.khasanov@gmail.com> | 2014-10-20 19:25:05 +0000 |
commit | 10646db916c8a623670e3c1829797e850f4de15d (patch) | |
tree | 57481f9b66708acf90f18bcde581a2c820386800 | |
parent | 1591cf0cef50ff433205cb4b5e9ac7b824b6bfa7 (diff) | |
download | llvm-10646db916c8a623670e3c1829797e850f4de15d.tar.gz |
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
-rw-r--r-- | lib/IR/Function.cpp | 10 | ||||
-rw-r--r-- | 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 13747cafec9c..9e622bdc99b4 100644 --- a/lib/IR/Function.cpp +++ b/lib/IR/Function.cpp @@ -474,7 +474,7 @@ std::string Intrinsic::getName(ID id, ArrayRef<Type*> 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 406a5f606b7a..37f6de057dad 100644 --- a/utils/TableGen/IntrinsicEmitter.cpp +++ b/utils/TableGen/IntrinsicEmitter.cpp @@ -225,7 +225,7 @@ EmitIntrinsicToOverloadTable(const std::vector<CodeGenIntrinsic> &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, |