aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO
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
commitc3f6abdd8573d1b6ff1b5fe2b8ce8dad49b3b801 (patch)
treeb6ac29da624b6c1b210450c2901072938d0fa90a /lib/Transforms/IPO
parent9b1749b1f49453c91395c753c27f60cadb23bb76 (diff)
downloadexternal_llvm-c3f6abdd8573d1b6ff1b5fe2b8ce8dad49b3b801.zip
external_llvm-c3f6abdd8573d1b6ff1b5fe2b8ce8dad49b3b801.tar.gz
external_llvm-c3f6abdd8573d1b6ff1b5fe2b8ce8dad49b3b801.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO')
-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 f3b28bd..2e4d00d 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.