diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-01-20 06:48:47 +0000 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2017-01-20 06:48:47 +0000 |
commit | e48d7d5554345552f1ebef40f5845cad5a30fc14 (patch) | |
tree | 4463cc97be134388c16f1d2467cd482d692e00bd | |
parent | 89fea6fd9db50cab63215b86a25027d9779e576b (diff) | |
download | bcm5719-llvm-e48d7d5554345552f1ebef40f5845cad5a30fc14.tar.gz bcm5719-llvm-e48d7d5554345552f1ebef40f5845cad5a30fc14.zip |
[TargetLowering] Improve comment for setOperationAction().
Add a sentence that says that the type argument can refer to
either the type of a result, or that of an operand.
Review: Eli Friedman.
llvm-svn: 292584
-rw-r--r-- | llvm/include/llvm/Target/TargetLowering.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h index 3728a7a8cb1..01c5c51f6b1 100644 --- a/llvm/include/llvm/Target/TargetLowering.h +++ b/llvm/include/llvm/Target/TargetLowering.h @@ -1490,7 +1490,8 @@ protected: void computeRegisterProperties(const TargetRegisterInfo *TRI); /// Indicate that the specified operation does not work with the specified - /// type and indicate what to do about it. + /// type and indicate what to do about it. Note that VT may refer to either + /// the type of a result or that of an operand of Op. void setOperationAction(unsigned Op, MVT VT, LegalizeAction Action) { assert(Op < array_lengthof(OpActions[0]) && "Table isn't big enough!"); |