[all-commits] [llvm/llvm-project] 486ed8: [ConstProp] Remove ConstantPropagation
aeubanks via All-commits
all-commits at lists.llvm.org
Wed Aug 26 15:57:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 486ed885339d70cd71ee55567282a43cce28d763
https://github.com/llvm/llvm-project/commit/486ed885339d70cd71ee55567282a43cce28d763
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2020-08-26 (Wed, 26 Aug 2020)
Changed paths:
M llvm/bindings/go/llvm/executionengine_test.go
M llvm/bindings/go/llvm/transforms_scalar.go
M llvm/bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.mli
M llvm/bindings/ocaml/transforms/scalar_opts/scalar_opts_ocaml.c
M llvm/docs/CommandLine.rst
M llvm/docs/Passes.rst
M llvm/include/llvm-c/Transforms/Scalar.h
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/LinkAllPasses.h
M llvm/include/llvm/Transforms/Scalar.h
M llvm/lib/Transforms/Scalar/CMakeLists.txt
R llvm/lib/Transforms/Scalar/ConstantProp.cpp
M llvm/lib/Transforms/Scalar/Scalar.cpp
R llvm/test/Analysis/ConstantFolding/AMDGPU/cos.ll
R llvm/test/Analysis/ConstantFolding/AMDGPU/cubeid.ll
R llvm/test/Analysis/ConstantFolding/AMDGPU/cubema.ll
R llvm/test/Analysis/ConstantFolding/AMDGPU/cubesc.ll
R llvm/test/Analysis/ConstantFolding/AMDGPU/cubetc.ll
R llvm/test/Analysis/ConstantFolding/AMDGPU/fmul_legacy.ll
R llvm/test/Analysis/ConstantFolding/AMDGPU/fract.ll
R llvm/test/Analysis/ConstantFolding/AMDGPU/lit.local.cfg
R llvm/test/Analysis/ConstantFolding/AMDGPU/sin.ll
R llvm/test/Analysis/ConstantFolding/ARM/lit.local.cfg
R llvm/test/Analysis/ConstantFolding/ARM/mve-vctp.ll
R llvm/test/Analysis/ConstantFolding/WebAssembly/trunc.ll
R llvm/test/Analysis/ConstantFolding/WebAssembly/trunc_saturate.ll
R llvm/test/Analysis/ConstantFolding/abs.ll
R llvm/test/Analysis/ConstantFolding/allones.ll
R llvm/test/Analysis/ConstantFolding/binop-identity-undef.ll
R llvm/test/Analysis/ConstantFolding/bitcount.ll
R llvm/test/Analysis/ConstantFolding/cast-vector.ll
R llvm/test/Analysis/ConstantFolding/copysign.ll
R llvm/test/Analysis/ConstantFolding/extractelement-vscale.ll
R llvm/test/Analysis/ConstantFolding/fneg.ll
R llvm/test/Analysis/ConstantFolding/fp-undef.ll
R llvm/test/Analysis/ConstantFolding/freeze.ll
R llvm/test/Analysis/ConstantFolding/funnel-shift.ll
R llvm/test/Analysis/ConstantFolding/gep-alias.ll
R llvm/test/Analysis/ConstantFolding/gep-constanfolding-error.ll
R llvm/test/Analysis/ConstantFolding/gep-zeroinit-vector.ll
R llvm/test/Analysis/ConstantFolding/gep.ll
R llvm/test/Analysis/ConstantFolding/math-1.ll
R llvm/test/Analysis/ConstantFolding/math-2.ll
R llvm/test/Analysis/ConstantFolding/min-max.ll
R llvm/test/Analysis/ConstantFolding/rint.ll
R llvm/test/Analysis/ConstantFolding/round.ll
R llvm/test/Analysis/ConstantFolding/saturating-add-sub.ll
R llvm/test/Analysis/ConstantFolding/smul-fix-sat.ll
R llvm/test/Analysis/ConstantFolding/smul-fix.ll
R llvm/test/Analysis/ConstantFolding/timeout.ll
R llvm/test/Analysis/ConstantFolding/trunc.ll
R llvm/test/Analysis/ConstantFolding/vecreduce.ll
R llvm/test/Analysis/ConstantFolding/vector-undef-elts.ll
R llvm/test/Analysis/ConstantFolding/vectorgep-crash.ll
R llvm/test/Analysis/ConstantFolding/vscale-getelementptr.ll
R llvm/test/Analysis/ConstantFolding/vscale-shufflevector.ll
R llvm/test/Analysis/ConstantFolding/vscale.ll
M llvm/test/Assembler/2002-04-07-HexFloatConstants.ll
M llvm/test/Bitcode/extractelement.ll
R llvm/test/Other/2002-03-11-ConstPropCrash.ll
R llvm/test/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll
R llvm/test/Transforms/ConstProp/2002-05-03-NotOperator.ll
R llvm/test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
R llvm/test/Transforms/ConstProp/2003-05-12-DivideError.ll
R llvm/test/Transforms/ConstProp/2005-01-28-SetCCGEP.ll
R llvm/test/Transforms/ConstProp/2006-11-30-vector-cast.ll
R llvm/test/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll
R llvm/test/Transforms/ConstProp/2006-12-01-bool-casts.ll
R llvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll
R llvm/test/Transforms/ConstProp/2007-02-23-sdiv.ll
R llvm/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll
R llvm/test/Transforms/ConstProp/2009-06-20-constexpr-zero-lhs.ll
R llvm/test/Transforms/ConstProp/2009-09-01-GEP-Crash.ll
R llvm/test/Transforms/ConstProp/InsertElement.ll
R llvm/test/Transforms/ConstProp/avx512.ll
R llvm/test/Transforms/ConstProp/basictest.ll
R llvm/test/Transforms/ConstProp/bitcast.ll
R llvm/test/Transforms/ConstProp/bswap.ll
R llvm/test/Transforms/ConstProp/calls-math-finite.ll
R llvm/test/Transforms/ConstProp/calls.ll
R llvm/test/Transforms/ConstProp/cast.ll
R llvm/test/Transforms/ConstProp/constant-expr.ll
R llvm/test/Transforms/ConstProp/convert-from-fp16.ll
R llvm/test/Transforms/ConstProp/div-zero.ll
R llvm/test/Transforms/ConstProp/extractvalue.ll
R llvm/test/Transforms/ConstProp/float-to-ptr-cast.ll
R llvm/test/Transforms/ConstProp/fma.ll
R llvm/test/Transforms/ConstProp/insertvalue.ll
R llvm/test/Transforms/ConstProp/loads.ll
R llvm/test/Transforms/ConstProp/logicaltest.ll
R llvm/test/Transforms/ConstProp/overflow-ops.ll
R llvm/test/Transforms/ConstProp/phi.ll
R llvm/test/Transforms/ConstProp/remtest.ll
R llvm/test/Transforms/ConstProp/shift.ll
R llvm/test/Transforms/ConstProp/sse.ll
R llvm/test/Transforms/ConstProp/trunc_vec.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2002-03-11-ConstPropCrash.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-DivideByZeroException.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-NotOperator.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2002-09-03-SetCC-Bools.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2003-05-12-DivideError.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2005-01-28-SetCCGEP.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2006-11-30-vector-cast.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2006-12-01-TruncBoolBug.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2006-12-01-bool-casts.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2007-02-05-BitCast.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2007-02-23-sdiv.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2008-07-07-VectorCompare.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2009-06-20-constexpr-zero-lhs.ll
A llvm/test/Transforms/InstSimplify/ConstProp/2009-09-01-GEP-Crash.ll
A llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cos.ll
A llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubeid.ll
A llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubema.ll
A llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubesc.ll
A llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubetc.ll
A llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fmul_legacy.ll
A llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fract.ll
A llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg
A llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/sin.ll
A llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg
A llvm/test/Transforms/InstSimplify/ConstProp/ARM/mve-vctp.ll
A llvm/test/Transforms/InstSimplify/ConstProp/InsertElement.ll
A llvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/trunc.ll
A llvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/trunc_saturate.ll
A llvm/test/Transforms/InstSimplify/ConstProp/abs.ll
A llvm/test/Transforms/InstSimplify/ConstProp/allones.ll
A llvm/test/Transforms/InstSimplify/ConstProp/avx512.ll
A llvm/test/Transforms/InstSimplify/ConstProp/basictest.ll
A llvm/test/Transforms/InstSimplify/ConstProp/binop-identity-undef.ll
A llvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
A llvm/test/Transforms/InstSimplify/ConstProp/bitcount.ll
A llvm/test/Transforms/InstSimplify/ConstProp/bswap.ll
A llvm/test/Transforms/InstSimplify/ConstProp/calls-math-finite.ll
A llvm/test/Transforms/InstSimplify/ConstProp/calls.ll
A llvm/test/Transforms/InstSimplify/ConstProp/cast-vector.ll
A llvm/test/Transforms/InstSimplify/ConstProp/cast.ll
A llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
A llvm/test/Transforms/InstSimplify/ConstProp/convert-from-fp16.ll
A llvm/test/Transforms/InstSimplify/ConstProp/copysign.ll
A llvm/test/Transforms/InstSimplify/ConstProp/div-zero.ll
A llvm/test/Transforms/InstSimplify/ConstProp/extractelement-vscale.ll
A llvm/test/Transforms/InstSimplify/ConstProp/extractvalue.ll
A llvm/test/Transforms/InstSimplify/ConstProp/float-to-ptr-cast.ll
A llvm/test/Transforms/InstSimplify/ConstProp/fma.ll
A llvm/test/Transforms/InstSimplify/ConstProp/fneg.ll
A llvm/test/Transforms/InstSimplify/ConstProp/fp-undef.ll
A llvm/test/Transforms/InstSimplify/ConstProp/freeze.ll
A llvm/test/Transforms/InstSimplify/ConstProp/funnel-shift.ll
A llvm/test/Transforms/InstSimplify/ConstProp/gep-alias.ll
A llvm/test/Transforms/InstSimplify/ConstProp/gep-constanfolding-error.ll
A llvm/test/Transforms/InstSimplify/ConstProp/gep-zeroinit-vector.ll
A llvm/test/Transforms/InstSimplify/ConstProp/gep.ll
A llvm/test/Transforms/InstSimplify/ConstProp/insertvalue.ll
A llvm/test/Transforms/InstSimplify/ConstProp/loads.ll
A llvm/test/Transforms/InstSimplify/ConstProp/logicaltest.ll
A llvm/test/Transforms/InstSimplify/ConstProp/math-1.ll
A llvm/test/Transforms/InstSimplify/ConstProp/math-2.ll
A llvm/test/Transforms/InstSimplify/ConstProp/min-max.ll
A llvm/test/Transforms/InstSimplify/ConstProp/overflow-ops.ll
A llvm/test/Transforms/InstSimplify/ConstProp/phi.ll
A llvm/test/Transforms/InstSimplify/ConstProp/remtest.ll
A llvm/test/Transforms/InstSimplify/ConstProp/rint.ll
A llvm/test/Transforms/InstSimplify/ConstProp/round.ll
A llvm/test/Transforms/InstSimplify/ConstProp/saturating-add-sub.ll
A llvm/test/Transforms/InstSimplify/ConstProp/shift.ll
A llvm/test/Transforms/InstSimplify/ConstProp/smul-fix-sat.ll
A llvm/test/Transforms/InstSimplify/ConstProp/smul-fix.ll
A llvm/test/Transforms/InstSimplify/ConstProp/sse.ll
A llvm/test/Transforms/InstSimplify/ConstProp/timeout.ll
A llvm/test/Transforms/InstSimplify/ConstProp/trunc.ll
A llvm/test/Transforms/InstSimplify/ConstProp/trunc_vec.ll
A llvm/test/Transforms/InstSimplify/ConstProp/vecreduce.ll
A llvm/test/Transforms/InstSimplify/ConstProp/vector-undef-elts.ll
A llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
A llvm/test/Transforms/InstSimplify/ConstProp/vscale-getelementptr.ll
A llvm/test/Transforms/InstSimplify/ConstProp/vscale-shufflevector.ll
A llvm/test/Transforms/InstSimplify/ConstProp/vscale.ll
M llvm/test/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll
M llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
M llvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn
Log Message:
-----------
[ConstProp] Remove ConstantPropagation
As discussed in
http://lists.llvm.org/pipermail/llvm-dev/2020-July/143801.html.
Currently no users outside of unit tests.
Replace all instances in tests of -constprop with -instsimplify.
Notable changes in tests:
* vscale.ll - @llvm.sadd.sat.nxv16i8 is evaluated by instsimplify, use a fake intrinsic instead
* InsertElement.ll - insertelement undef is removed by instsimplify in @insertelement_undef
llvm/test/Transforms/ConstProp moved to llvm/test/Transforms/InstSimplify/ConstProp
Reviewed By: lattner, nikic
Differential Revision: https://reviews.llvm.org/D85159
More information about the All-commits
mailing list