This is an archive of the discontinued LLVM Phabricator instance.

use external template to suppres OptBisect::shouldRunPass() instantiation
Needs ReviewPublic

Authored by lijinpei on Jan 8 2018, 10:18 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

There are explicit instantiations for OptBisect::shouldRunPass() in lib/IR/OptBiset.cpp, so we can add extern template declarations in include/llvm/IR/OptBiset.h to suppress template instantiations in every .c file.

Diff Detail

Repository
rL LLVM

Event Timeline

lijinpei created this revision.Jan 8 2018, 10:18 AM