diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-03-28 00:15:00 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-03-28 00:15:00 +0000 |
| commit | 8a2ae8b7661619f77e6e10c09d7a5a16ea0eace7 (patch) | |
| tree | 131e30753c92c46232540618a17f43b92096fcb2 /llvm/utils/TableGen/CodeGenIntrinsics.h | |
| parent | ac2512a261504a90fee3e06db3d9c8cd1cf882f4 (diff) | |
| download | bcm5719-llvm-8a2ae8b7661619f77e6e10c09d7a5a16ea0eace7.tar.gz bcm5719-llvm-8a2ae8b7661619f77e6e10c09d7a5a16ea0eace7.zip | |
Only compute intrinsic valuetypes when in a target .td file.
llvm-svn: 27197
Diffstat (limited to 'llvm/utils/TableGen/CodeGenIntrinsics.h')
| -rw-r--r-- | llvm/utils/TableGen/CodeGenIntrinsics.h | 5 |
1 files changed, 4 insertions, 1 deletions
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<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. |

