forked from OSchip/llvm-project
Pass options by const ref in TestLinalgCodegenStrategy (NFC)
These aren't small object, fix Coverity report.
This commit is contained in:
parent
26049b8ce3
commit
e965d068e0
|
@ -55,9 +55,9 @@ struct TestLinalgCodegenStrategy
|
|||
|
||||
void runOnFunction() override;
|
||||
|
||||
void runStrategy(LinalgTilingAndFusionOptions tilingAndFusionOptions,
|
||||
LinalgTilingOptions tilingOptions,
|
||||
LinalgTilingOptions registerTilingOptions,
|
||||
void runStrategy(const LinalgTilingAndFusionOptions &tilingAndFusionOptions,
|
||||
const LinalgTilingOptions &tilingOptions,
|
||||
const LinalgTilingOptions ®isterTilingOptions,
|
||||
LinalgPaddingOptions paddingOptions,
|
||||
vector::VectorContractLowering vectorContractLowering,
|
||||
vector::VectorTransferSplit vectorTransferSplit);
|
||||
|
@ -168,9 +168,9 @@ struct TestLinalgCodegenStrategy
|
|||
};
|
||||
|
||||
void TestLinalgCodegenStrategy::runStrategy(
|
||||
LinalgTilingAndFusionOptions tilingAndFusionOptions,
|
||||
LinalgTilingOptions tilingOptions,
|
||||
LinalgTilingOptions registerTilingOptions,
|
||||
const LinalgTilingAndFusionOptions &tilingAndFusionOptions,
|
||||
const LinalgTilingOptions &tilingOptions,
|
||||
const LinalgTilingOptions ®isterTilingOptions,
|
||||
LinalgPaddingOptions paddingOptions,
|
||||
vector::VectorContractLowering vectorContractLowering,
|
||||
vector::VectorTransferSplit vectorTransferSplit) {
|
||||
|
|
Loading…
Reference in New Issue