This is an archive of the discontinued LLVM Phabricator instance.

Merge DAGCombiner::visitSREM and DAGCombiner::visitUREM (NFC)
ClosedPublic

Authored by tyomitch on Oct 14 2015, 6:41 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

tyomitch updated this revision to Diff 37346.Oct 14 2015, 6:41 AM
tyomitch retitled this revision from to Merge DAGCombiner::visitSREM and DAGCombiner::visitUREM (NFC).
tyomitch updated this object.
tyomitch added reviewers: sunfish, MatzeB, sdmitrouk.
tyomitch added a subscriber: llvm-commits.
jmolloy accepted this revision.Oct 14 2015, 7:09 AM
jmolloy added a reviewer: jmolloy.
jmolloy added a subscriber: jmolloy.

Hi Artyom,

I agree that this factors out a significant chunk of code. LGTM apart from the single comment below.

Cheers,

James

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
2350 ↗(On Diff #37346)

This looks like an unneeded/unintended change?

This revision is now accepted and ready to land.Oct 14 2015, 7:09 AM
tyomitch added inline comments.Oct 14 2015, 8:48 AM
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
2350 ↗(On Diff #37346)

Yes, you're right, I'll undo this one.

tyomitch updated this revision to Diff 37358.Oct 14 2015, 9:11 AM
tyomitch edited edge metadata.

Patch updated

tyomitch updated this revision to Diff 37359.Oct 14 2015, 9:12 AM

Arcanist is too keen on squashing patches when posting updates :-/

This revision was automatically updated to reflect the committed changes.