Skip to content

Commit 9f5139c

Browse files
committed
[SandboxIR] Fix unused variable build error
1 parent 104f3c1 commit 9f5139c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/unittests/SandboxIR/SandboxIRTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,6 @@ define void @foo(i8 %v1, ptr %ptr) {
17511751
llvm::Function *LLVMF = &*M->getFunction("foo");
17521752
sandboxir::Context Ctx(C);
17531753
sandboxir::Function *F = Ctx.createFunction(LLVMF);
1754-
auto *Arg = F->getArg(0);
17551754
auto *BB = &*F->begin();
17561755
auto It = BB->begin();
17571756
auto *Add0 = cast<sandboxir::BinaryOperator>(&*It++);

0 commit comments

Comments
 (0)