summaryrefslogtreecommitdiff
path: root/include
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
commitf7c6da6fe8ba43205d2a1fb1152720bd72e7ea23 (patch)
tree477b9a8014f627896bab6fc330bce8a82e28db59 /include
parent2b0002b579dba5604a2673bbee2cd9969e183a71 (diff)
downloadllvm-f7c6da6fe8ba43205d2a1fb1152720bd72e7ea23.tar.gz
llvm-f7c6da6fe8ba43205d2a1fb1152720bd72e7ea23.tar.bz2
llvm-f7c6da6fe8ba43205d2a1fb1152720bd72e7ea23.tar.xz
Update comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193651 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLowering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 5b9e377459..01b579b223 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;