This is an archive of the discontinued LLVM Phabricator instance.

Use setBits in SelectionDAG
ClosedPublic

Authored by deadalnix on Mar 10 2017, 10:05 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

deadalnix created this revision.Mar 10 2017, 10:05 AM
craig.topper added inline comments.
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
2318 ↗(On Diff #91373)

You can use setBitsFrom(1)

deadalnix updated this revision to Diff 91397.Mar 10 2017, 12:27 PM

Use setBitsFrom

craig.topper added inline comments.Mar 10 2017, 12:39 PM
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
2583 ↗(On Diff #91397)

I don't think this is right. KnownZeroLow isn't the width of the APInt is it?

deadalnix updated this revision to Diff 91413.Mar 10 2017, 2:21 PM

Revert KnownZeroLow

This revision is now accepted and ready to land.Mar 10 2017, 5:11 PM
This revision was automatically updated to reflect the committed changes.