forked from OSchip/llvm-project
[mlir] Fix unused variable warning. NFCI.
This commit is contained in:
parent
47e7a22471
commit
e7f0552682
|
@ -213,9 +213,7 @@ public:
|
|||
int64_t stride =
|
||||
op.getStrides().getValue().front().cast<IntegerAttr>().getInt();
|
||||
|
||||
auto loc = op.getLoc();
|
||||
auto elemType = dstType.getElementType();
|
||||
assert(elemType.isSignlessIntOrIndexOrFloat());
|
||||
assert(dstType.getElementType().isSignlessIntOrIndexOrFloat());
|
||||
|
||||
// Single offset can be more efficiently shuffled.
|
||||
if (op.getOffsets().getValue().size() != 1)
|
||||
|
|
Loading…
Reference in New Issue