diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-04-16 21:46:42 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-04-16 21:46:42 +0000 |
commit | c91e40a1795629b02f682bc8216b42c5ec60fccf (patch) | |
tree | c20904e7154f90e79c4c8543031d530fe991b51f /include | |
parent | bde6fda7292e23b2f5db77dc302338022558dcb8 (diff) | |
download | external_llvm-c91e40a1795629b02f682bc8216b42c5ec60fccf.zip external_llvm-c91e40a1795629b02f682bc8216b42c5ec60fccf.tar.gz external_llvm-c91e40a1795629b02f682bc8216b42c5ec60fccf.tar.bz2 |
Add a comment to describe LLVMMatchType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Intrinsics.td | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td index 779b64a..6e4ce82 100644 --- a/include/llvm/Intrinsics.td +++ b/include/llvm/Intrinsics.td @@ -73,6 +73,12 @@ class LLVMAnyPointerType<LLVMType elty> LLVMType ElTy = elty; } +// Match the type of another intrinsic parameter. Number is an index into the +// list of overloaded types for the intrinsic, excluding all the fixed types. +// The Number value must refer to a previously listed type. For example: +// Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_anyfloat_ty, LLVMMatchType<0>]> +// has two overloaded types, the 2nd and 3rd arguments. LLVMMatchType<0> +// refers to the first overloaded type, which is the 2nd argument. class LLVMMatchType<int num> : LLVMType<OtherVT>{ int Number = num; |