projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e397acc
)
simplify comparison
author
Chris Lattner
<sabre@nondot.org>
Sat, 11 Oct 2008 00:08:02 +0000
(
00:08
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 11 Oct 2008 00:08:02 +0000
(
00:08
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57371
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index 76aecc312e41ad3e887086b1475d02788ae10e5b..d67f126d03c1c9628fe70fb6a51cf747526ecbbb 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@
-1014,7
+1014,7
@@
void SelectionDAGLowering::FindMergedConditions(Value *Cond,
// If the leaf of the tree is a comparison, merge the condition into
// the caseblock.
- if (
(isa<ICmpInst>(Cond) || isa<FCmpInst>(Cond)
) &&
+ if (
isa<CmpInst>(Cond
) &&
// The operands of the cmp have to be in this block. We don't know
// how to export them from some other block. If this is the first block
// of the sequence, no exporting is needed.