This is an archive of the discontinued LLVM Phabricator instance.

[ConstantRange] Add initial support for binaryXor.
ClosedPublic

Authored by fhahn on Mar 19 2020, 1:40 PM.

Details

Summary

The initial implementation just delegates to APInt's implementation of
XOR for single element ranges and conservatively returns the full set
otherwise.

Diff Detail

Event Timeline

fhahn created this revision.Mar 19 2020, 1:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 19 2020, 1:40 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
This revision is now accepted and ready to land.Mar 19 2020, 4:11 PM
This revision was automatically updated to reflect the committed changes.