[FastISel][X86] Optimize predicates and fold CMP instructions.

Description

[FastISel][X86] Optimize predicates and fold CMP instructions.

This optimizes predicates for certain compares, such as fcmp oeq %x, %x to
fcmp ord %x, %x. The latter one is more efficient to generate.

The same optimization is applied to conditional branches.

Details

Committed
ributzkaJun 17 2014, 2:55 PM
Parents
rL211125: Remove more occurrences of the unused-mutex-parameter pattern.
Branches
Unknown
Tags
Unknown