diff options
| author | Dehao Chen <dehao@google.com> | 2016-09-12 20:29:54 +0000 |
|---|---|---|
| committer | Dehao Chen <dehao@google.com> | 2016-09-12 20:29:54 +0000 |
| commit | c32d71253c4f00a7c775b1cd85608cf5479594f2 (patch) | |
| tree | e920d0ab130f552771184f01bd6223014dbb0155 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
| parent | 9bbb941acfba70d557c572d102412dba91fbd128 (diff) | |
| download | bcm5719-llvm-c32d71253c4f00a7c775b1cd85608cf5479594f2.tar.gz bcm5719-llvm-c32d71253c4f00a7c775b1cd85608cf5479594f2.zip | |
Fix the bug introduced in r281252.
llvm-svn: 281253
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index fc27f0ee7b2..5213f3aaed5 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -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()); } |

