[PATCH] D90199: [CodeView] Encode signed int values correctly when emitting S_CONSTANTs

Amy Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 29 16:24:04 PDT 2020


akhuang updated this revision to Diff 301784.
akhuang added a comment.

I think we want to emit floats as unsigned, so add a function to check if the
constant is a float.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90199

Files:
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/test/DebugInfo/COFF/global-constants.ll
  llvm/test/DebugInfo/COFF/globals.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90199.301784.patch
Type: text/x-patch
Size: 4149 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201029/ea7f4176/attachment.bin>


More information about the llvm-commits mailing list