Update comment
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 29 Oct 2013 21:04:19 +0000 (21:04 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 29 Oct 2013 21:04:19 +0000 (21:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193651 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index 5b9e37745914454d153ed5fe1565ff92fcf37019..01b579b2233440f61f042a1edd57213642609ee9 100644 (file)
@@ -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;