HomePhabricator

[InstSimplify] fold 'fcmp nnan ult X, 0.0' when X is not negative

Authored by spatel on Oct 31 2018, 8:35 AM.

Description

[InstSimplify] fold 'fcmp nnan ult X, 0.0' when X is not negative

This is the inverted case for the transform added with D53874 / rL345725.

llvm-svn: 345728

Details

Committed
spatelOct 31 2018, 8:35 AM
Parents
rGb9fe3fbb57c2: [InstCombine] add assertion that InstSimplify has folded a fabs+fcmp; NFC
Branches
Unknown
Tags
Unknown