[all-commits] [llvm/llvm-project] 3da7ef: [Attributor] Reuse the IPConstantProp tests for th...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Dec 13 20:04:16 PST 2019


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

  Changed paths:
    A llvm/test/Transforms/Attributor/IPConstantProp/2008-06-09-WeakProp.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/PR26044.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/PR43857.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/arg-count-mismatch.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/arg-type-mismatch.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/comdat-ipo.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/dangling-block-address.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/deadarg.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/fp-bc-icmp-const-fold.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/global.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/multiple_callbacks.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/musttail-call.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/naked-return.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/recursion.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/remove-call-inst.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/return-argument.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/return-constant.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/return-constants.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll
    A llvm/test/Transforms/Attributor/IPConstantProp/thread_local_acs.ll

  Log Message:
  -----------
  [Attributor] Reuse the IPConstantProp tests for the Attributor

The Attributor can, to some degree, do what IPConstantProp does. We can
consequently use the corner cases already collected and tested for in
the IPConstantProp tests to improve Attributor test coverage.

This exposed various bugs fixed in previous Attributor patches.

Not all functionality of IPConstantProp is available in AAValueSimplify
and AAIsDead so some tests show that we cannot perform the expected
constant propagation.

Reviewers: fhahn, efriedma, mssimpso, davide

Subscribers: bollu, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list