[PATCH] D106915: Add a DIExpression const-folder to prevent silly expressions

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 28 11:11:15 PDT 2021


probinson updated this revision to Diff 362461.
probinson added a comment.

Added unittest.  Addressed review nits.


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

https://reviews.llvm.org/D106915

Files:
  llvm/include/llvm/IR/DebugInfoMetadata.h
  llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
  llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
  llvm/lib/IR/DebugInfoMetadata.cpp
  llvm/test/DebugInfo/X86/DIExpr-const-folding.ll
  llvm/test/DebugInfo/X86/convert-debugloc.ll
  llvm/test/DebugInfo/X86/convert-linked.ll
  llvm/test/DebugInfo/X86/convert-loclist.ll
  llvm/unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106915.362461.patch
Type: text/x-patch
Size: 19373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210728/ffbc99c0/attachment.bin>


More information about the llvm-commits mailing list