[all-commits] [llvm/llvm-project] af52d5: [IPConstantProp][NFCI] Improve and modernize tests

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Dec 9 13:25:33 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: af52d5a04cb3c488af06c50806d15f1ee9252cc7
      https://github.com/llvm/llvm-project/commit/af52d5a04cb3c488af06c50806d15f1ee9252cc7
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M llvm/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll
    M llvm/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll
    M llvm/test/Transforms/IPConstantProp/PR16052.ll
    M llvm/test/Transforms/IPConstantProp/PR26044.ll
    M llvm/test/Transforms/IPConstantProp/PR43857.ll
    M llvm/test/Transforms/IPConstantProp/arg-count-mismatch.ll
    M llvm/test/Transforms/IPConstantProp/recursion.ll
    M llvm/test/Transforms/IPConstantProp/return-argument.ll
    M llvm/test/Transforms/IPConstantProp/return-constant.ll
    M llvm/test/Transforms/IPConstantProp/return-constants.ll
    M llvm/test/Transforms/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll
    M llvm/test/Transforms/IPConstantProp/thread_local_acs.ll
    M llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll

  Log Message:
  -----------
  [IPConstantProp][NFCI] Improve and modernize tests

Summary:
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.

Reviewers: fhahn, efriedma, mssimpso, davide

Subscribers: bollu, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69747




More information about the All-commits mailing list