HomePhabricator

[X86] Simplify the BRCOND handling for FCMP_UNE.

Description

[X86] Simplify the BRCOND handling for FCMP_UNE.

Despite what the comment says, FCMP_UNE would be an OR not an AND. In the lowering code the first branch created still goes to the original destination. The second branch was exchanged to go to where the subsequent unconditional branch went. This is different than what we do for FCMP_OEQ where both branches that we create go to the original unconditional branch.

As far as I can tell, I think this means we don't need to exchange the branch target with the unconditional branch for FCMP_UNE at all.

Differential Revision: https://reviews.llvm.org/D56309

Details

Committed
ctopperJan 10 2019, 11:02 AM
Differential Revision
D56309: [X86] Simplify the BRCOND handling for FCMP_UNE.
Parents
rL350872: Filesystem tests: fix fs.op.relative
Branches
Unknown
Tags
Unknown