forked from OSchip/llvm-project
NFC: Silence two warnings for unused bufferization symbols in release mode.
Differential Revision: https://reviews.llvm.org/D126182
This commit is contained in:
parent
89e663c4f8
commit
02d3499a46
|
@ -389,6 +389,8 @@ private:
|
|||
DenseSet<Operation *> &toMemrefOps;
|
||||
|
||||
/// The bufferization options.
|
||||
/// Used for debug modes.
|
||||
LLVM_ATTRIBUTE_UNUSED
|
||||
const BufferizationOptions &options;
|
||||
};
|
||||
} // namespace
|
||||
|
|
|
@ -105,6 +105,8 @@ static FuncAnalysisState &getFuncAnalysisState(AnalysisState &state) {
|
|||
}
|
||||
|
||||
/// Return the state (phase) of analysis of the FuncOp.
|
||||
/// Used for debug modes.
|
||||
LLVM_ATTRIBUTE_UNUSED
|
||||
static FuncOpAnalysisState getFuncOpAnalysisState(const AnalysisState &state,
|
||||
func::FuncOp funcOp) {
|
||||
const FuncAnalysisState &funcState = getFuncAnalysisState(state);
|
||||
|
|
Loading…
Reference in New Issue