Main thing I was unsure about was to whether try to delete the now dead landing blocks, or leave that for the unreachable block reduction. Personality function is not reduced, but that should be a separate reduction on the function. Fixes #58815
19 lines
596 B
C++
19 lines
596 B
C++
//===- ReduceInvokes.h - Specialized Delta Pass -----------------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEINVOKES_H
|
|
#define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEINVOKES_H
|
|
|
|
#include "TestRunner.h"
|
|
|
|
namespace llvm {
|
|
void reduceInvokesDeltaPass(TestRunner &Test);
|
|
} // namespace llvm
|
|
|
|
#endif
|