mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
simplify comparison
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57371 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e397acce9d
commit
3c26101669
@ -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…
x
Reference in New Issue
Block a user