mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
Fix NDEBUG build after https://reviews.llvm.org/D93005.
Differential Revision: https://reviews.llvm.org/D93480
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user