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:
9bbb941
)
Fix the bug introduced in r281252.
author
Dehao Chen
<dehao@google.com>
Mon, 12 Sep 2016 20:29:54 +0000
(20:29 +0000)
committer
Dehao Chen
<dehao@google.com>
Mon, 12 Sep 2016 20:29:54 +0000
(20:29 +0000)
llvm-svn: 281253
llvm/lib/CodeGen/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/CodeGenPrepare.cpp
b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index
fc27f0e
..
5213f3a
100644
(file)
--- 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());
}