This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Negate ABS/NABS patterns by swapping the select operands to remove the negation
ClosedPublic

Authored by craig.topper on May 22 2018, 4:44 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.May 22 2018, 4:44 PM
spatel accepted this revision.May 22 2018, 4:50 PM

LGTM.

This revision is now accepted and ready to land.May 22 2018, 4:50 PM
This revision was automatically updated to reflect the committed changes.