[all-commits] [llvm/llvm-project] 965520: [Attributor] Copy or port test cases related to At...

Hideto Ueno via All-commits all-commits at lists.llvm.org
Mon Dec 2 07:37:31 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 96552036e307f7b0dd6477583c3fdb7de17e8aac
      https://github.com/llvm/llvm-project/commit/96552036e307f7b0dd6477583c3fdb7de17e8aac
  Author: Hideto Ueno <uenoku.tokotoko at gmail.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    A llvm/test/Transforms/Attributor/align.ll
    A llvm/test/Transforms/Attributor/callbacks.ll
    A llvm/test/Transforms/Attributor/dereferenceable-1.ll
    A llvm/test/Transforms/Attributor/dereferenceable-2.ll
    A llvm/test/Transforms/Attributor/heap_to_stack.ll
    A llvm/test/Transforms/Attributor/internal-noalias.ll
    A llvm/test/Transforms/Attributor/liveness.ll
    A llvm/test/Transforms/Attributor/misc.ll
    A llvm/test/Transforms/Attributor/new_attributes.ll
    A llvm/test/Transforms/Attributor/noalias.ll
    A llvm/test/Transforms/Attributor/nocapture-1.ll
    A llvm/test/Transforms/Attributor/nocapture-2.ll
    A llvm/test/Transforms/Attributor/nofree.ll
    A llvm/test/Transforms/Attributor/nonnull.ll
    A llvm/test/Transforms/Attributor/norecurse.ll
    A llvm/test/Transforms/Attributor/noreturn.ll
    A llvm/test/Transforms/Attributor/noreturn_async.ll
    A llvm/test/Transforms/Attributor/noreturn_sync.ll
    A llvm/test/Transforms/Attributor/nosync.ll
    A llvm/test/Transforms/Attributor/nounwind.ll
    A llvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
    A llvm/test/Transforms/Attributor/readattrs.ll
    A llvm/test/Transforms/Attributor/returned.ll
    A llvm/test/Transforms/Attributor/value-simplify.ll
    A llvm/test/Transforms/Attributor/willreturn.ll
    R llvm/test/Transforms/FunctionAttrs/align.ll
    R llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
    M llvm/test/Transforms/FunctionAttrs/arg_returned.ll
    R llvm/test/Transforms/FunctionAttrs/callbacks.ll
    R llvm/test/Transforms/FunctionAttrs/dereferenceable.ll
    R llvm/test/Transforms/FunctionAttrs/fn_noreturn.ll
    R llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll
    R llvm/test/Transforms/FunctionAttrs/internal-noalias.ll
    R llvm/test/Transforms/FunctionAttrs/liveness.ll
    R llvm/test/Transforms/FunctionAttrs/misc.ll
    R llvm/test/Transforms/FunctionAttrs/new_attributes.ll
    R llvm/test/Transforms/FunctionAttrs/noalias_returned.ll
    M llvm/test/Transforms/FunctionAttrs/nocapture.ll
    M llvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
    M llvm/test/Transforms/FunctionAttrs/nonnull.ll
    M llvm/test/Transforms/FunctionAttrs/norecurse.ll
    R llvm/test/Transforms/FunctionAttrs/noreturn_async.ll
    R llvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
    R llvm/test/Transforms/FunctionAttrs/nosync.ll
    M llvm/test/Transforms/FunctionAttrs/nounwind.ll
    R llvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
    M llvm/test/Transforms/FunctionAttrs/readattrs.ll
    R llvm/test/Transforms/FunctionAttrs/value-simplify.ll
    R llvm/test/Transforms/FunctionAttrs/willreturn.ll
    M llvm/test/Transforms/InferFunctionAttrs/dereferenceable.ll

  Log Message:
  -----------
  [Attributor] Copy or port test cases related to Attributor to` Attributor` test folder

Summary:
This patch moves the test cases related to Attributor to `Transforms/Attributor` folder.
We have used `Transforms/FunctionAttrs` as the primary folder for Attributor test but we need to change testing way now.

For the test cases which I think functionattrs doesn't infer anything something like (willreturn, nosync, value-simplify, h2s ..etc), I moved them with the command `git mv`.

For the test cases in which functoinattrs and attributor are tested, I copied the test to the folder and remove the check only used by functoinattrs.

Reviewers: jdoerfert, sstefan1

Reviewed By: jdoerfert

Subscribers: jfb, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list