aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenIntrinsics.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-28 00:15:00 +0000
committerChris Lattner <sabre@nondot.org>2006-03-28 00:15:00 +0000
commit6a160fba223a472f8ce4d0adef044660f69b4417 (patch)
tree976ae8236d250cc89e46d0a3995c83b40d42f28e /utils/TableGen/CodeGenIntrinsics.h
parent76f8c7c4cc4abbd6d71748762ebfe2fa1cd0fb43 (diff)
Only compute intrinsic valuetypes when in a target .td file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenIntrinsics.h')
-rw-r--r--utils/TableGen/CodeGenIntrinsics.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/TableGen/CodeGenIntrinsics.h b/utils/TableGen/CodeGenIntrinsics.h
index f986ed1995..4bae8f15a5 100644
--- a/utils/TableGen/CodeGenIntrinsics.h
+++ b/utils/TableGen/CodeGenIntrinsics.h
@@ -34,7 +34,10 @@ namespace llvm {
/// of the arguments. These are things like Type::UIntTyID.
std::vector<std::string> ArgTypes;
- /// ArgVTs - The MVT::ValueType for each argument type.
+ /// ArgVTs - The MVT::ValueType for each argument type. Note that this list
+ /// is only populated when in the context of a target .td file. When
+ /// building Intrinsics.td, this isn't available, because we don't know the
+ /// target pointer size.
std::vector<MVT::ValueType> ArgVTs;
/// ArgTypeDefs - The records for each argument type.