diff options
Diffstat (limited to 'llvm/lib/CodeGen/LibcallLoweringInfo.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LibcallLoweringInfo.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LibcallLoweringInfo.cpp b/llvm/lib/CodeGen/LibcallLoweringInfo.cpp index 5c1698cb6060..6f3607e8db82 100644 --- a/llvm/lib/CodeGen/LibcallLoweringInfo.cpp +++ b/llvm/lib/CodeGen/LibcallLoweringInfo.cpp @@ -7,11 +7,13 @@ //===----------------------------------------------------------------------===// #include "llvm/CodeGen/LibcallLoweringInfo.h" +#include "llvm/CodeGen/TargetSubtargetInfo.h" using namespace llvm; LibcallLoweringInfo::LibcallLoweringInfo( - const RTLIB::RuntimeLibcallsInfo &RTLCI) + const RTLIB::RuntimeLibcallsInfo &RTLCI, + const TargetSubtargetInfo &Subtarget) : RTLCI(RTLCI) { // TODO: This should be generated with lowering predicates, and assert the // call is available. @@ -23,4 +25,6 @@ LibcallLoweringInfo::LibcallLoweringInfo( LibcallImpls[LC] = Impl; } } + + Subtarget.initLibcallLoweringInfo(*this); } |
