summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-05-15 21:27:34 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-05-15 21:27:34 +0000
commit74305a6233695f33ec96da395515ae786c08db6a (patch)
tree5129967545b9937068a4e1a35734fcc92d977b2a /llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
parent597618f9f8490c4fa0c1861653b5c46dcb8bd63d (diff)
downloadbcm5719-llvm-74305a6233695f33ec96da395515ae786c08db6a.tar.gz
bcm5719-llvm-74305a6233695f33ec96da395515ae786c08db6a.zip
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. llvm-svn: 22070
Diffstat (limited to 'llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
index f3b28bd6cbc..2e4d00d69d7 100644
--- a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud