forked from OSchip/llvm-project
Revert "Fix -Wnon-virtual-dtor warning introduced in r217982."
An alternative fix was already committed. This reverts commit r217988. llvm-svn: 217989
This commit is contained in:
parent
20dd05ccfd
commit
d8978ec085
|
@ -36,9 +36,6 @@ private:
|
|||
const TargetLibraryInfo *TLI;
|
||||
bool UnsafeFPShrink;
|
||||
|
||||
protected:
|
||||
~LibCallSimplifier() {}
|
||||
|
||||
public:
|
||||
LibCallSimplifier(const DataLayout *TD, const TargetLibraryInfo *TLI,
|
||||
bool UnsafeFPShrink);
|
||||
|
|
|
@ -2908,7 +2908,7 @@ bool InstCombiner::DoOneIteration(Function &F, unsigned Iteration) {
|
|||
}
|
||||
|
||||
namespace {
|
||||
class InstCombinerLibCallSimplifier final : public LibCallSimplifier {
|
||||
class InstCombinerLibCallSimplifier : public LibCallSimplifier {
|
||||
InstCombiner *IC;
|
||||
public:
|
||||
InstCombinerLibCallSimplifier(const DataLayout *DL,
|
||||
|
|
Loading…
Reference in New Issue