Skip to content

Commit e10ac5f

Browse files
committed
[SandboxVec][NFC] Fix unused variable warning in test
1 parent 738f3a1 commit e10ac5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SchedulerTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ define void @foo(ptr noalias %ptrA0, ptr noalias %ptrA1,
294294
auto *A1 = cast<sandboxir::StoreInst>(&*It++);
295295
auto *A0 = cast<sandboxir::StoreInst>(&*It++);
296296
auto *Ret = cast<sandboxir::ReturnInst>(&*It++);
297+
(void)Ret;
297298

298299
sandboxir::Scheduler Sched(getAA(*LLVMF), Ctx);
299300
EXPECT_TRUE(Sched.trySchedule({A0, A1}));

0 commit comments

Comments
 (0)