[all-commits] [llvm/llvm-project] 69375f: [AssumeBundles] Preserve Information in the inliner

Ralender via All-commits all-commits at lists.llvm.org
Fri Mar 13 09:36:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 69375fd0a30322a09783a18dceca1d09a6a6725c
      https://github.com/llvm/llvm-project/commit/69375fd0a30322a09783a18dceca1d09a6a6725c
  Author: Tyker <tyker1 at outlook.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M llvm/lib/IR/KnowledgeRetention.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/IR/assume-builder.ll
    M llvm/test/Transforms/Inline/arg-attr-propagation.ll
    M llvm/test/Transforms/Inline/noalias2.ll
    M llvm/unittests/IR/KnowledgeRetentionTest.cpp

  Log Message:
  -----------
  [AssumeBundles] Preserve Information in the inliner

Summary:
during inling Create and insert an llvm.assume with attributes to preserve them.
to prevent any changes for now generation of llvm.assume is under a flag disabled by default.

Reviewers: jdoerfert

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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


  Commit: 2543567c414fb82b921485b9923d9ad7e0c7c22b
      https://github.com/llvm/llvm-project/commit/2543567c414fb82b921485b9923d9ad7e0c7c22b
  Author: Tyker <tyker1 at outlook.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M llvm/lib/IR/KnowledgeRetention.cpp
    M llvm/test/IR/assume-builder.ll
    M llvm/test/Transforms/Inline/noalias2.ll
    M llvm/unittests/IR/KnowledgeRetentionTest.cpp

  Log Message:
  -----------
  [AssumeBundles] filter usefull attriutes to preserve

Summary:
This patch will filter attributes to only preserve those that are usefull.
In the case of NoAlias it is filtered out not because it isn't usefull
but because it is incorrect to preserve it as it is only valdi for the
duration of the function.

Reviewers: jdoerfert

Reviewed By: jdoerfert

Subscribers: jdoerfert, hiraditya, llvm-commits

Tags: #llvm

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


Compare: https://github.com/llvm/llvm-project/compare/2451cbf07bbc...2543567c414f


More information about the All-commits mailing list