File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
llvm/unittests/Transforms/Vectorize/SandboxVectorizer Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -347,15 +347,15 @@ define void @foo(ptr %ptr, i16 %arg) {
347347 auto *F = Ctx.createFunction (LLVMF);
348348 auto *BB = &*F->begin ();
349349 auto It = BB->begin ();
350- auto *Gep0 = cast<sandboxir::GetElementPtrInst>(&*It++);
351- auto *Gep1 = cast<sandboxir::GetElementPtrInst>(&*It++);
352- auto *ZextX = cast<sandboxir::CastInst>(&*It++);
350+ [[maybe_unused]] auto *Gep0 = cast<sandboxir::GetElementPtrInst>(&*It++);
351+ [[maybe_unused]] auto *Gep1 = cast<sandboxir::GetElementPtrInst>(&*It++);
352+ [[maybe_unused]] auto *ZextX = cast<sandboxir::CastInst>(&*It++);
353353 auto *Zext1 = cast<sandboxir::CastInst>(&*It++);
354354 auto *Zext0 = cast<sandboxir::CastInst>(&*It++);
355355 auto *Shl1 = cast<sandboxir::BinaryOperator>(&*It++);
356356 auto *Shl0 = cast<sandboxir::BinaryOperator>(&*It++);
357- auto *Sub1 = cast<sandboxir::BinaryOperator>(&*It++);
358- auto *Sub0 = cast<sandboxir::BinaryOperator>(&*It++);
357+ [[maybe_unused]] auto *Sub1 = cast<sandboxir::BinaryOperator>(&*It++);
358+ [[maybe_unused]] auto *Sub0 = cast<sandboxir::BinaryOperator>(&*It++);
359359 auto *S0 = cast<sandboxir::StoreInst>(&*It++);
360360 auto *S1 = cast<sandboxir::StoreInst>(&*It++);
361361
You can’t perform that action at this time.
0 commit comments