[PATCH] D82197: [NFCI] Cleanup range checks in Register/MCRegister
David Tenty via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 17:45:54 PDT 2020
daltenty updated this revision to Diff 272578.
daltenty added a comment.
- Address comments round 1
- Use numeric_limits for static assert
- Use bit mask interpretation for VirtualRegFlag
- Add range assert for index to virtual reg conversion
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82197/new/
https://reviews.llvm.org/D82197
Files:
llvm/include/llvm/CodeGen/Register.h
llvm/include/llvm/MC/MCRegister.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82197.272578.patch
Type: text/x-patch
Size: 4389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200623/92602ccf/attachment.bin>
More information about the llvm-commits
mailing list