Author: Christian Sigg Date: 2020-12-17T20:38:21+01:00 New Revision: 58f2b765ebec45643f0b0d6737fb3dc339f75cde
URL: https://github.com/llvm/llvm-project/commit/58f2b765ebec45643f0b0d6737fb3dc339f75cde DIFF: https://github.com/llvm/llvm-project/commit/58f2b765ebec45643f0b0d6737fb3dc339f75cde.diff LOG: Fix NDEBUG build after https://reviews.llvm.org/D93005. Differential Revision: https://reviews.llvm.org/D93480 Added: Modified: mlir/lib/Target/LLVMIR/ModuleTranslation.cpp Removed: ################################################################################ diff --git a/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp b/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp index d9094f8763d9..8c650506e2d7 100644 --- a/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp +++ b/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp @@ -327,6 +327,7 @@ static Value getPHISourceValue(Block *current, Block *pred, assert(std::adjacent_find(successors.begin(), successors.end()) == successors.end() && "successors with arguments in LLVM branches must be diff erent blocks"); + (void)successors; // For instructions that branch based on a condition value, we need to take // the operands for the branch that was taken. _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits