HomePhabricator

[InstCombine] Don't undo 0 - (X * Y) canonicalization when combining subs.

Description

[InstCombine] Don't undo 0 - (X * Y) canonicalization when combining subs.

Otherwise instcombine gets stuck in a cycle. The canonicalization was
added in D55961.

This patch fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12400

Details

Committed
fhahnJan 15 2019, 3:18 AM
Parents
rL351186: [ELF][AArch64] Add missing PLT relocations to isStaticLinkTimeConstant
Branches
Unknown
Tags
Unknown