projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c6d516
)
Fix NDEBUG build after https://reviews.llvm.org/D93005.
author
Christian Sigg
<csigg@google.com>
Thu, 17 Dec 2020 19:35:48 +0000
(20:35 +0100)
committer
Christian Sigg
<csigg@google.com>
Thu, 17 Dec 2020 19:38:21 +0000
(20:38 +0100)
Differential Revision: https://reviews.llvm.org/D93480
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
b/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
index
d9094f8
..
8c65050
100644
(file)
--- 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 different blocks");
+ (void)successors;
// For instructions that branch based on a condition value, we need to take
// the operands for the branch that was taken.