[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

Reid Spencer reid at x10sys.com
Sun May 15 14:27:45 PDT 2005



Changes in directory llvm/lib/Transforms/IPO:

SimplifyLibCalls.cpp updated: 1.36 -> 1.37
---
Log message:

Don't look for __builtin_ffs, we'll never see it from llvm-gcc and there's
not reason to include it for other front ends.


---
Diffs of the changes:  (+0 -14)

 SimplifyLibCalls.cpp |   14 --------------
 1 files changed, 14 deletions(-)


Index: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff -u llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.36 llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.37
--- llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.36	Sun May 15 16:19:45 2005
+++ llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp	Sun May 15 16:27:34 2005
@@ -1773,20 +1773,6 @@
 
 } FFSLLOptimizer;
 
-/// This LibCallOptimization will simplify calls to the "__builtin_ffs" 
-/// function which is generated by the CFE (its GCC specific). 
-/// It simply uses FFSOptimization for which the transformation is
-/// identical.
-/// @brief Simplify the ffsl library function.
-struct BuiltinFFSOptimization : public FFSOptimization
-{
-public:
-  /// @brief Default Constructor
-  BuiltinFFSOptimization() : FFSOptimization("__builtin_ffs",
-      "Number of '__builtin_ffs' calls simplified") {}
-
-} BuiltinFFSOptimization;
-
 /// A function to compute the length of a null-terminated constant array of
 /// integers.  This function can't rely on the size of the constant array 
 /// because there could be a null terminator in the middle of the array. 






More information about the llvm-commits mailing list