HomePhabricator

[Reassociate] Remove bogus assert reported in PR42349.

Authored by cameron.mcinally on Thu, Jun 20, 4:03 PM.

Description

[Reassociate] Remove bogus assert reported in PR42349.

Also, add a FIXME for the unsafe transform on a unary FNeg. A unary FNeg can only be transformed to a FMul by -1.0 when the nnan flag is present. The unary FNeg project is a WIP, so the unsafe transformation is acceptable until that work is complete.

The bogus assert with introduced in D63445.

llvm-svn: 363998

Details

Committed
cameron.mcinallyThu, Jun 20, 4:03 PM
Parents
rGb342f026a466: [InstSimplify] simplify power-of-2 (single bit set) sequences
Branches
Unknown
Tags
Unknown