summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-10-29 21:04:19 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-10-29 21:04:19 +0000
commit87596662cd586cd1966f2377f63bd374d0b50861 (patch)
tree84717eff98d8a34a09ed08b73c8c5c8dd5d4c353
parenta1ca46d003edfb1dd461372bc398394d135707a8 (diff)
downloadbcm5719-llvm-87596662cd586cd1966f2377f63bd374d0b50861.tar.gz
bcm5719-llvm-87596662cd586cd1966f2377f63bd374d0b50861.zip
Update comment
llvm-svn: 193651
-rw-r--r--llvm/include/llvm/Target/TargetLowering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h
index 5b9e3774591..01b579b2233 100644
--- a/llvm/include/llvm/Target/TargetLowering.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud