mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
simplify comparison
llvm-svn: 57371
This commit is contained in:
parent
03d0a7d70c
commit
2f2ef3f25f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user