Remove unused function and avoid unused variable warning. NFC.
-- PiperOrigin-RevId: 247991231
This commit is contained in:
parent
bc5c7378b2
commit
c82e1da268
@ -197,6 +197,7 @@ bool mlir::matcher::operatesOnSuperVectorsOf(Operation &op,
|
||||
/// TODO(ntv): there should be a single function for all ops to do this so we
|
||||
/// do not have to special case. Maybe a trait, or just a method, unclear atm.
|
||||
bool mustDivide = false;
|
||||
(void)mustDivide;
|
||||
VectorType superVectorType;
|
||||
if (auto read = dyn_cast<VectorTransferReadOp>(op)) {
|
||||
superVectorType = read.getResultType();
|
||||
|
||||
@ -211,7 +211,8 @@ static bool getFullMemRefAsRegion(Operation *opInst, unsigned numParamLoopIVs,
|
||||
return true;
|
||||
}
|
||||
|
||||
static InFlightDiagnostic emitRemarkForBlock(Block &block) {
|
||||
static InFlightDiagnostic LLVM_ATTRIBUTE_UNUSED
|
||||
emitRemarkForBlock(Block &block) {
|
||||
auto *op = block.getContainingOp();
|
||||
return op ? op->emitRemark() : block.getFunction()->emitRemark();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user