[PATCH] D65280: Add a pass to lower is.constant intrinsics

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 07:46:57 PDT 2019


joerg updated this revision to Diff 212341.
joerg retitled this revision from "Add a pass to lower is.constant intrinsics Needs ReviewPublic" to "Add a pass to lower is.constant intrinsics".
joerg edited the summary of this revision.
joerg added a comment.

Replace boolean argument to replaceAndRecursivelySimplify with optional vector of un-modified instructions. This simplifies the API change significantly and allows other potential use cases. Redo the restart handling. After a successful simplification step, restart the current BB only, but always do another full pass of the function.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65280/new/

https://reviews.llvm.org/D65280

Files:
  bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.mli
  bindings/ocaml/transforms/scalar_opts/scalar_opts_ocaml.c
  include/llvm-c/Transforms/Scalar.h
  include/llvm/Analysis/InstructionSimplify.h
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Scalar.h
  include/llvm/Transforms/Scalar/LowerIsConstantIntrinsic.h
  lib/Analysis/InstructionSimplify.cpp
  lib/CodeGen/TargetPassConfig.cpp
  lib/Passes/PassBuilder.cpp
  lib/Passes/PassRegistry.def
  lib/Transforms/Scalar/CMakeLists.txt
  lib/Transforms/Scalar/LowerIsConstantIntrinsic.cpp
  lib/Transforms/Scalar/Scalar.cpp
  test/CodeGen/AArch64/O0-pipeline.ll
  test/CodeGen/AArch64/O3-pipeline.ll
  test/CodeGen/ARM/O3-pipeline.ll
  test/CodeGen/X86/O0-pipeline.ll
  test/CodeGen/X86/O3-pipeline.ll
  test/CodeGen/X86/is-constant.ll
  test/Transforms/LowerIsConstant/is-constant.ll
  utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65280.212341.patch
Type: text/x-patch
Size: 24945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190730/588bf196/attachment.bin>


More information about the llvm-commits mailing list