This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Implement computeKnownBits for G_SEXT_INREG
ClosedPublic

Authored by paquette on Jan 26 2021, 2:58 PM.

Details

Summary

Just use the existing Known.sextInReg implementation.

  • Update KnownBitsTest.cpp.
  • Update combine-redundant-and.mir for a more concrete example.

Diff Detail

Event Timeline

paquette created this revision.Jan 26 2021, 2:58 PM
paquette requested review of this revision.Jan 26 2021, 2:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2021, 2:58 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm accepted this revision.Jan 26 2021, 2:59 PM
This revision is now accepted and ready to land.Jan 26 2021, 2:59 PM
This revision was automatically updated to reflect the committed changes.