diff options
author | Chris Lattner <sabre@nondot.org> | 2008-10-11 00:08:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-10-11 00:08:02 +0000 |
commit | fb1f4a13291bcdceb01bc29ca1c25f0370f9f4ef (patch) | |
tree | a3e313b23cddf633c9fa9b6a6c7018cc79ae6595 /llvm/lib | |
parent | 05b54c2af45e445003bc84ea8ab58e9bb794373e (diff) | |
download | bcm5719-llvm-fb1f4a13291bcdceb01bc29ca1c25f0370f9f4ef.tar.gz bcm5719-llvm-fb1f4a13291bcdceb01bc29ca1c25f0370f9f4ef.zip |
simplify comparison
llvm-svn: 57371
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 76aecc312e4..d67f126d03c 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/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. |