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

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 15:42:00 PDT 2019


joerg updated this revision to Diff 219444.
joerg added a comment.

Switch the pass to use two rounds. The first round will collect all relevant intrinsics in RPO, the second one will translate them accordingly.


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/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Scalar.h
  include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h
  lib/CodeGen/CodeGenPrepare.cpp
  lib/CodeGen/GlobalISel/IRTranslator.cpp
  lib/CodeGen/SelectionDAG/FastISel.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/TargetPassConfig.cpp
  lib/Passes/PassBuilder.cpp
  lib/Passes/PassRegistry.def
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/Scalar/CMakeLists.txt
  lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
  lib/Transforms/Scalar/Scalar.cpp
  test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
  test/CodeGen/AArch64/O0-pipeline.ll
  test/CodeGen/AArch64/O3-pipeline.ll
  test/CodeGen/ARM/O3-pipeline.ll
  test/CodeGen/Generic/is-constant.ll
  test/CodeGen/X86/O0-pipeline.ll
  test/CodeGen/X86/O3-pipeline.ll
  test/CodeGen/X86/is-constant.ll
  test/CodeGen/X86/object-size.ll
  test/Other/new-pm-defaults.ll
  test/Other/new-pm-thinlto-defaults.ll
  test/Other/opt-O2-pipeline.ll
  test/Other/opt-O3-pipeline.ll
  test/Other/opt-Os-pipeline.ll
  test/Transforms/CodeGenPrepare/X86/overflow-intrinsics.ll
  test/Transforms/CodeGenPrepare/basic.ll
  test/Transforms/CodeGenPrepare/builtin-condition.ll
  test/Transforms/CodeGenPrepare/crash-on-large-allocas.ll
  test/Transforms/LowerConstantIntrinsics/constant-intrinsics.ll
  test/Transforms/LowerConstantIntrinsics/crash-on-large-allocas.ll
  test/Transforms/LowerConstantIntrinsics/objectsize_basic.ll
  utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65280.219444.patch
Type: text/x-patch
Size: 53081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190909/c89b6054/attachment.bin>


More information about the llvm-commits mailing list