[llvm-commits] [llvm] r172999 - /llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
Chandler Carruth
chandlerc at gmail.com
Sun Jan 20 18:17:37 PST 2013
Author: chandlerc
Date: Sun Jan 20 20:17:36 2013
New Revision: 172999
URL: http://llvm.org/viewvc/llvm-project?rev=172999&view=rev
Log:
Remove the comma from the last enumerator to fix -pedantic warnings.
Modified:
llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
Modified: llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h?rev=172999&r1=172998&r2=172999&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h Sun Jan 20 20:17:36 2013
@@ -89,7 +89,7 @@
enum TargetCostConstants {
TCC_Free = 0, ///< Expected to fold away in lowering.
TCC_Basic = 1, ///< The cost of a typical 'add' instruction.
- TCC_Expensive = 4, ///< The cost of a 'div' instruction on x86.
+ TCC_Expensive = 4 ///< The cost of a 'div' instruction on x86.
};
/// \brief Estimate the cost of a specific operation when lowered.
More information about the llvm-commits
mailing list