From 6db0a2ba04cfe1ab547eb052b5e58b9a667b71d4 Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Fri, 20 Jan 2017 06:48:47 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292584 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetLowering.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 3728a7a8cb1..01c5c51f6b1 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/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!"); -- 2.50.1