[llvm] r193651 - Update comment

Matt Arsenault Matthew.Arsenault at amd.com
Tue Oct 29 14:04:19 PDT 2013


Author: arsenm
Date: Tue Oct 29 16:04:19 2013
New Revision: 193651

URL: http://llvm.org/viewvc/llvm-project?rev=193651&view=rev
Log:
Update comment

Modified:
    llvm/trunk/include/llvm/Target/TargetLowering.h

Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=193651&r1=193650&r2=193651&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Tue Oct 29 16:04:19 2013
@@ -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;





More information about the llvm-commits mailing list