From 8a2ae8b7661619f77e6e10c09d7a5a16ea0eace7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 28 Mar 2006 00:15:00 +0000 Subject: Only compute intrinsic valuetypes when in a target .td file. llvm-svn: 27197 --- llvm/utils/TableGen/CodeGenIntrinsics.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'llvm/utils/TableGen/CodeGenIntrinsics.h') diff --git a/llvm/utils/TableGen/CodeGenIntrinsics.h b/llvm/utils/TableGen/CodeGenIntrinsics.h index f986ed1995b..4bae8f15a52 100644 --- a/llvm/utils/TableGen/CodeGenIntrinsics.h +++ b/llvm/utils/TableGen/CodeGenIntrinsics.h @@ -34,7 +34,10 @@ namespace llvm { /// of the arguments. These are things like Type::UIntTyID. std::vector 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 ArgVTs; /// ArgTypeDefs - The records for each argument type. -- cgit v1.2.3