[Matrix] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off build after D106457. NFC

This commit is contained in:
Fangrui Song 2021-07-22 11:33:01 -07:00
parent 3959c95deb
commit 3b181568db
1 changed files with 1 additions and 0 deletions

View File

@ -1141,6 +1141,7 @@ public:
void finalizeLowering(Instruction *Inst, MatrixTy Matrix,
IRBuilder<> &Builder) {
auto inserted = Inst2ColumnMatrix.insert(std::make_pair(Inst, Matrix));
(void)inserted;
assert(inserted.second && "multiple matrix lowering mapping");
ToRemove.push_back(Inst);