[all-commits] [llvm/llvm-project] 09f2f9: [ScalarizeMaskedMemIntrinsic] Move from CodeGen in...

annamthomas via All-commits all-commits at lists.llvm.org
Tue Dec 8 09:36:03 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 09f2f9605fbaff2b72c586d76256c9e6e312a0f3
      https://github.com/llvm/llvm-project/commit/09f2f9605fbaff2b72c586d76256c9e6e312a0f3
  Author: Anna Thomas <anna at azul.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/CodeGen.cpp
    R llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
    M llvm/lib/Transforms/Scalar/CMakeLists.txt
    M llvm/lib/Transforms/Scalar/Scalar.cpp
    A llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp

  Log Message:
  -----------
  [ScalarizeMaskedMemIntrinsic] Move from CodeGen into Transforms

ScalarizeMaskedMemIntrinsic is currently a codeGen level pass. The pass
is actually operating on IR level and does not use any code gen specific
passes.  It is useful to move it into transforms directory so that it
can be more widely used as a mid-level transform as well (apart from
usage in codegen pipeline).
In particular, we have a usecase downstream where we would like to use
this pass in our mid-level pipeline which operates on IR level.

The next change will be to add support for new PM.

Reviewers: craig.topper, apilipenko, skatkov
Reviewed-By: skatkov
Differential Revision: https://reviews.llvm.org/D92407




More information about the All-commits mailing list