This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Fix canonicalization of (-X s/ Y) to -(X s/ Y).
AbandonedPublic

Authored by hliao on Apr 9 2019, 11:20 AM.

Details

Summary
  • The previous patch seems quite messy.

Event Timeline

hliao created this revision.Apr 9 2019, 11:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2019, 11:20 AM
hliao added a comment.Apr 9 2019, 11:23 AM

Hi Chen

Your change https://reviews.llvm.org/D60395 seems incorrect and cause regressions. Please check whether this does the canonicalization correctly.

Thanks

  • Michael

Was reverted in rL358026 (that entire rL358017 seems faulty, that is not what i have reviewed.).
Let's continue disscussion back in D60395.

hliao abandoned this revision.Apr 9 2019, 12:08 PM

Sorry for the faulty commit and thanks for reverting this @lebedev.ri

Sorry for the faulty commit and thanks for reverting this @lebedev.ri

@nikic reverted it