diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-18 21:50:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-18 21:50:34 +0000 |
commit | 0e125bb4d0f153ac18fc86adc1bedc33c6176f34 (patch) | |
tree | 2fac1a7b2fc21c78ad0ec6c0fd343f128589197f /llvm/lib/Target/Target.cpp | |
parent | d2f7431fa80367fb7b7cc773561e38c11a9777a2 (diff) | |
download | bcm5719-llvm-0e125bb4d0f153ac18fc86adc1bedc33c6176f34.tar.gz bcm5719-llvm-0e125bb4d0f153ac18fc86adc1bedc33c6176f34.zip |
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.
llvm-svn: 125965
Diffstat (limited to 'llvm/lib/Target/Target.cpp')
-rw-r--r-- | llvm/lib/Target/Target.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Target.cpp b/llvm/lib/Target/Target.cpp index 9609099e914..0919fe42dc0 100644 --- a/llvm/lib/Target/Target.cpp +++ b/llvm/lib/Target/Target.cpp @@ -24,6 +24,7 @@ using namespace llvm; void llvm::initializeTarget(PassRegistry &Registry) { initializeTargetDataPass(Registry); + initializeTargetLibraryInfoPass(Registry); } void LLVMInitializeTarget(LLVMPassRegistryRef R) { |