Remove redundant getAnalysis<> calls in GlobalOpt. Add a few Itanium ABI calls

to TargetLibraryInfo and use one of them in GlobalOpt.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky
2012-02-12 02:15:20 +00:00
parent 6a577f82ba
commit 6a7df9aae6
3 changed files with 22 additions and 11 deletions

View File

@@ -113,7 +113,11 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
"tanhf",
"trunc",
"truncf",
"truncl"
"truncl",
"__cxa_atexit",
"__cxa_guard_abort",
"__cxa_guard_acquire",
"__cxa_guard_release"
};
/// initialize - Initialize the set of available library functions based on the