mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-04 03:17:51 +00:00
Fix the bug introduced in r281252.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c8aa02da6
commit
77ad09277a
@ -4589,7 +4589,7 @@ static Value *getTrueOrFalseValue(
|
||||
|
||||
for (SelectInst *DefSI = SI; DefSI != nullptr && Selects.count(DefSI);
|
||||
DefSI = dyn_cast<SelectInst>(V)) {
|
||||
assert(DefSI.getCondition() == SI->getCondition() &&
|
||||
assert(DefSI->getCondition() == SI->getCondition() &&
|
||||
"The condition of DefSI does not match with SI");
|
||||
V = (isTrue ? DefSI->getTrueValue() : DefSI->getFalseValue());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user