[llvm] e10ac5f - [SandboxVec][NFC] Fix unused variable warning in test
Vasileios Porpodas via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 16:51:04 PST 2025
Author: Vasileios Porpodas
Date: 2025-02-18T16:49:09-08:00
New Revision: e10ac5fc71578a043eab6a2a53f0171c9230db97
URL: https://github.com/llvm/llvm-project/commit/e10ac5fc71578a043eab6a2a53f0171c9230db97
DIFF: https://github.com/llvm/llvm-project/commit/e10ac5fc71578a043eab6a2a53f0171c9230db97.diff
LOG: [SandboxVec][NFC] Fix unused variable warning in test
Added:
Modified:
llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SchedulerTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SchedulerTest.cpp b/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SchedulerTest.cpp
index 7d88337e77faa..97724100ba341 100644
--- a/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SchedulerTest.cpp
+++ b/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SchedulerTest.cpp
@@ -294,6 +294,7 @@ define void @foo(ptr noalias %ptrA0, ptr noalias %ptrA1,
auto *A1 = cast<sandboxir::StoreInst>(&*It++);
auto *A0 = cast<sandboxir::StoreInst>(&*It++);
auto *Ret = cast<sandboxir::ReturnInst>(&*It++);
+ (void)Ret;
sandboxir::Scheduler Sched(getAA(*LLVMF), Ctx);
EXPECT_TRUE(Sched.trySchedule({A0, A1}));
More information about the llvm-commits
mailing list