[PATCH] D105320: [CodeView] Saturate values bigger than supported by APInt.

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 25 15:03:44 PDT 2021


mizvekov updated this revision to Diff 361543.
mizvekov marked 4 inline comments as done.
mizvekov added a comment.

- Expose and use APInt::isSingleWord.
- Use ApInt::getLimitedValue.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105320/new/

https://reviews.llvm.org/D105320

Files:
  llvm/include/llvm/ADT/APInt.h
  llvm/include/llvm/IR/DIBuilder.h
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
  llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
  llvm/lib/IR/DIBuilder.cpp
  llvm/test/DebugInfo/COFF/integer-128.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105320.361543.patch
Type: text/x-patch
Size: 16310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210725/3166200b/attachment-0001.bin>


More information about the cfe-commits mailing list