diff options
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 76aecc3..d67f126 100644 --- 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. |