[PATCH] D69747: [IPConstantProp][NFCI] Improve and modernize tests

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 1 23:34:39 PDT 2019


jdoerfert created this revision.
jdoerfert added reviewers: fhahn, efriedma, mssimpso, davide.
Herald added a subscriber: bollu.
Herald added a project: LLVM.

This change is in preparation to reuse these test for the Attributor.
It mainly is to remove UB, make it clear what is tested, and use
"modern" run lines.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69747

Files:
  llvm/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll
  llvm/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll
  llvm/test/Transforms/IPConstantProp/PR16052.ll
  llvm/test/Transforms/IPConstantProp/PR26044.ll
  llvm/test/Transforms/IPConstantProp/recursion.ll
  llvm/test/Transforms/IPConstantProp/return-constant.ll
  llvm/test/Transforms/IPConstantProp/return-constants.ll
  llvm/test/Transforms/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll
  llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69747.227570.patch
Type: text/x-patch
Size: 10067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191102/2dc4470d/attachment.bin>


More information about the llvm-commits mailing list