This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository llvm.
from eab724c63f1 merge-request.sh: Update 9.0 metabug for 9.0.1 new 314e3cde15f Add a pass to lower is.constant and objectsize intrinsics
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .../transforms/scalar_opts/llvm_scalar_opts.mli | 5 + .../transforms/scalar_opts/scalar_opts_ocaml.c | 6 + include/llvm-c/Transforms/Scalar.h | 3 + include/llvm/InitializePasses.h | 1 + include/llvm/LinkAllPasses.h | 1 + include/llvm/Transforms/Scalar.h | 7 + .../Transforms/Scalar/LowerConstantIntrinsics.h | 41 +++++ lib/CodeGen/CodeGenPrepare.cpp | 22 +-- lib/CodeGen/GlobalISel/IRTranslator.cpp | 14 +- lib/CodeGen/SelectionDAG/FastISel.cpp | 24 +-- lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 24 +-- lib/CodeGen/TargetPassConfig.cpp | 1 + lib/Passes/PassBuilder.cpp | 3 + lib/Passes/PassRegistry.def | 1 + lib/Transforms/IPO/PassManagerBuilder.cpp | 1 + lib/Transforms/Scalar/CMakeLists.txt | 1 + lib/Transforms/Scalar/LowerConstantIntrinsics.cpp | 170 +++++++++++++++++++++ lib/Transforms/Scalar/Scalar.cpp | 5 + .../AArch64/GlobalISel/arm64-irtranslator.ll | 17 --- test/CodeGen/AArch64/O0-pipeline.ll | 1 + test/CodeGen/AArch64/O3-pipeline.ll | 1 + test/CodeGen/ARM/O3-pipeline.ll | 1 + test/CodeGen/Generic/is-constant.ll | 114 -------------- test/CodeGen/X86/O0-pipeline.ll | 1 + test/CodeGen/X86/O3-pipeline.ll | 1 + test/CodeGen/X86/is-constant.ll | 50 ------ test/CodeGen/X86/object-size.ll | 55 ------- test/Other/new-pm-defaults.ll | 1 + test/Other/new-pm-thinlto-defaults.ll | 1 + test/Other/opt-O2-pipeline.ll | 2 + test/Other/opt-O3-pipeline.ll | 2 + test/Other/opt-Os-pipeline.ll | 2 + .../CodeGenPrepare/X86/overflow-intrinsics.ll | 20 --- .../Transforms/CodeGenPrepare/builtin-condition.ll | 123 --------------- .../LowerConstantIntrinsics/constant-intrinsics.ll | 114 ++++++++++++++ .../crash-on-large-allocas.ll | 2 +- .../objectsize_basic.ll} | 17 +-- .../secondary/llvm/lib/Transforms/Scalar/BUILD.gn | 1 + 38 files changed, 399 insertions(+), 457 deletions(-) create mode 100644 include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h create mode 100644 lib/Transforms/Scalar/LowerConstantIntrinsics.cpp delete mode 100644 test/CodeGen/Generic/is-constant.ll delete mode 100644 test/CodeGen/X86/is-constant.ll delete mode 100644 test/CodeGen/X86/object-size.ll delete mode 100644 test/Transforms/CodeGenPrepare/builtin-condition.ll create mode 100644 test/Transforms/LowerConstantIntrinsics/constant-intrinsics.ll rename test/Transforms/{CodeGenPrepare => LowerConstantIntrinsics}/crash-on-large- [...] rename test/Transforms/{CodeGenPrepare/basic.ll => LowerConstantIntrinsics/objects [...]