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) {
347
347
auto *F = Ctx.createFunction (LLVMF);
348
348
auto *BB = &*F->begin ();
349
349
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++);
353
353
auto *Zext1 = cast<sandboxir::CastInst>(&*It++);
354
354
auto *Zext0 = cast<sandboxir::CastInst>(&*It++);
355
355
auto *Shl1 = cast<sandboxir::BinaryOperator>(&*It++);
356
356
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++);
359
359
auto *S0 = cast<sandboxir::StoreInst>(&*It++);
360
360
auto *S1 = cast<sandboxir::StoreInst>(&*It++);
361
361
You can’t perform that action at this time.
0 commit comments