aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/IPO/SimplifyLibCalls.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp
index f3b28bd6cb..2e4d00d69d 100644
--- a/lib/Transforms/IPO/SimplifyLibCalls.cpp
+++ b/lib/Transforms/IPO/SimplifyLibCalls.cpp
@@ -1773,20 +1773,6 @@ public:
} 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.