aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Target.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-18 21:50:34 +0000
committerChris Lattner <sabre@nondot.org>2011-02-18 21:50:34 +0000
commitce99120084f549a523213064648662a704e8b789 (patch)
tree302ee420dae97f757a2da56a2c84fbc849a8e742 /lib/Target/Target.cpp
parentd78b7891104e7110d6e71646f98c4f07d814e6b3 (diff)
introduce a new TargetLibraryInfo pass, which transformations can use to
query about available library functions. For now this just has memset_pattern16, which exists on darwin, but it can be extended for a bunch of other things in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Target.cpp')
-rw-r--r--lib/Target/Target.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Target.cpp b/lib/Target/Target.cpp
index 9609099e91..0919fe42dc 100644
--- a/lib/Target/Target.cpp
+++ b/lib/Target/Target.cpp
@@ -24,6 +24,7 @@ using namespace llvm;
void llvm::initializeTarget(PassRegistry &Registry) {
initializeTargetDataPass(Registry);
+ initializeTargetLibraryInfoPass(Registry);
}
void LLVMInitializeTarget(LLVMPassRegistryRef R) {