From 5ba1aae0ff21e1cb88f859b7ef62233356cbd781 Mon Sep 17 00:00:00 2001 From: William Moses Date: Thu, 7 Nov 2024 17:53:15 -0600 Subject: [PATCH] Update StableHLOAutoDiffOpInterfaceImpl.cpp --- .../jax/Implementations/StableHLOAutoDiffOpInterfaceImpl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/enzyme_ad/jax/Implementations/StableHLOAutoDiffOpInterfaceImpl.cpp b/src/enzyme_ad/jax/Implementations/StableHLOAutoDiffOpInterfaceImpl.cpp index 7fdd991c..77fecaf3 100644 --- a/src/enzyme_ad/jax/Implementations/StableHLOAutoDiffOpInterfaceImpl.cpp +++ b/src/enzyme_ad/jax/Implementations/StableHLOAutoDiffOpInterfaceImpl.cpp @@ -240,8 +240,6 @@ class AutoDiffIfRev gutils->popCache(caches[0], builder), orig->getAttrs()); - Location loc = orig->getLoc(); - bool valid = true; for (auto &&[origReg, newReg] : llvm::zip_equal(orig->getRegions(), revOp->getRegions())) {