From: Matt Arsenault Date: Tue, 29 Oct 2013 21:04:19 +0000 (+0000) Subject: Update comment X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f7c6da6fe8ba43205d2a1fb1152720bd72e7ea23;p=oota-llvm.git Update comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193651 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 5b9e3774591..01b579b2233 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1445,8 +1445,8 @@ private: /// indicates how instruction selection should deal with the condition code. /// /// Because each CC action takes up 2 bits, we need to have the array size be - /// large enough to fit all of the value types. This can be done by dividing - /// the MVT::LAST_VALUETYPE by 16 and adding one. + /// large enough to fit all of the value types. This can be done by rounding + /// up the MVT::LAST_VALUETYPE value to the next multiple of 16. uint32_t CondCodeActions[ISD::SETCC_INVALID][(MVT::LAST_VALUETYPE + 15) / 16]; ValueTypeActionImpl ValueTypeActions;