Page MenuHomePhabricator

[MIRParser] Add parsing hex literals of arbitrary size as unsigned integers
ClosedPublic

Authored by kparzysz on Dec 15 2016, 9:25 AM.

Details

Reviewers
MatzeB
Summary

The current code does not parse hex literals larger than 32-bit. Add a function that will parse a HexLiteral as APInt.

Diff Detail

Repository
rL LLVM

Event Timeline

kparzysz updated this revision to Diff 81602.Dec 15 2016, 9:25 AM
kparzysz retitled this revision from to [MIRParser] Add parsing hex literals of arbitrary size as unsigned integers.
kparzysz updated this object.
kparzysz added a reviewer: MatzeB.
kparzysz set the repository for this revision to rL LLVM.
kparzysz added a subscriber: llvm-commits.

This came up when I changed the LaneBitmask type to uint64_t (for testing).

MatzeB accepted this revision.Dec 15 2016, 3:18 PM
MatzeB edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Dec 15 2016, 3:18 PM
kparzysz closed this revision.Dec 16 2016, 6:10 AM

Committed in r289943.