HomePhabricator

[InstCombine] don't negate constant expression with fsub (PR37605)

Description

[InstCombine] don't negate constant expression with fsub (PR37605)

X + (-C) would be transformed back into X - C, so infinite loop:
https://bugs.llvm.org/show_bug.cgi?id=37605

Details

Committed
spatelMay 30 2018, 4:55 PM
Parents
rL333609: [Coverage] Discard the last uncompleted deferred region in a decl
Branches
Unknown
Tags
Unknown