[PATCH] D85159: [ConstProp] Remove ConstantPropagation

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 13:18:10 PDT 2020


aeubanks updated this revision to Diff 288095.
aeubanks added a comment.
Herald added subscribers: kerbowa, dmgreen, aheejin, jgravelle-google, sbc100, nhaehnle, jvesely, dschuff.

Move more tests into Transforms/InstSimplify/ConstProp
Rebase past https://reviews.llvm.org/D86653


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85159

Files:
  llvm/bindings/go/llvm/executionengine_test.go
  llvm/bindings/go/llvm/transforms_scalar.go
  llvm/bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.mli
  llvm/bindings/ocaml/transforms/scalar_opts/scalar_opts_ocaml.c
  llvm/docs/CommandLine.rst
  llvm/docs/Passes.rst
  llvm/include/llvm-c/Transforms/Scalar.h
  llvm/include/llvm/InitializePasses.h
  llvm/include/llvm/LinkAllPasses.h
  llvm/include/llvm/Transforms/Scalar.h
  llvm/lib/Transforms/Scalar/CMakeLists.txt
  llvm/lib/Transforms/Scalar/ConstantProp.cpp
  llvm/lib/Transforms/Scalar/Scalar.cpp
  llvm/test/Analysis/ConstantFolding/AMDGPU/cos.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/cubeid.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/cubema.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/cubesc.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/cubetc.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/fmul_legacy.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/fract.ll
  llvm/test/Analysis/ConstantFolding/AMDGPU/lit.local.cfg
  llvm/test/Analysis/ConstantFolding/AMDGPU/sin.ll
  llvm/test/Analysis/ConstantFolding/ARM/lit.local.cfg
  llvm/test/Analysis/ConstantFolding/ARM/mve-vctp.ll
  llvm/test/Analysis/ConstantFolding/WebAssembly/trunc.ll
  llvm/test/Analysis/ConstantFolding/WebAssembly/trunc_saturate.ll
  llvm/test/Analysis/ConstantFolding/abs.ll
  llvm/test/Analysis/ConstantFolding/allones.ll
  llvm/test/Analysis/ConstantFolding/binop-identity-undef.ll
  llvm/test/Analysis/ConstantFolding/bitcount.ll
  llvm/test/Analysis/ConstantFolding/cast-vector.ll
  llvm/test/Analysis/ConstantFolding/copysign.ll
  llvm/test/Analysis/ConstantFolding/extractelement-vscale.ll
  llvm/test/Analysis/ConstantFolding/fneg.ll
  llvm/test/Analysis/ConstantFolding/fp-undef.ll
  llvm/test/Analysis/ConstantFolding/freeze.ll
  llvm/test/Analysis/ConstantFolding/funnel-shift.ll
  llvm/test/Analysis/ConstantFolding/gep-alias.ll
  llvm/test/Analysis/ConstantFolding/gep-constanfolding-error.ll
  llvm/test/Analysis/ConstantFolding/gep-zeroinit-vector.ll
  llvm/test/Analysis/ConstantFolding/gep.ll
  llvm/test/Analysis/ConstantFolding/math-1.ll
  llvm/test/Analysis/ConstantFolding/math-2.ll
  llvm/test/Analysis/ConstantFolding/min-max.ll
  llvm/test/Analysis/ConstantFolding/rint.ll
  llvm/test/Analysis/ConstantFolding/round.ll
  llvm/test/Analysis/ConstantFolding/saturating-add-sub.ll
  llvm/test/Analysis/ConstantFolding/smul-fix-sat.ll
  llvm/test/Analysis/ConstantFolding/smul-fix.ll
  llvm/test/Analysis/ConstantFolding/timeout.ll
  llvm/test/Analysis/ConstantFolding/trunc.ll
  llvm/test/Analysis/ConstantFolding/vecreduce.ll
  llvm/test/Analysis/ConstantFolding/vector-undef-elts.ll
  llvm/test/Analysis/ConstantFolding/vectorgep-crash.ll
  llvm/test/Analysis/ConstantFolding/vscale-getelementptr.ll
  llvm/test/Analysis/ConstantFolding/vscale-shufflevector.ll
  llvm/test/Analysis/ConstantFolding/vscale.ll
  llvm/test/Assembler/2002-04-07-HexFloatConstants.ll
  llvm/test/Bitcode/extractelement.ll
  llvm/test/Other/2002-03-11-ConstPropCrash.ll
  llvm/test/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll
  llvm/test/Transforms/ConstProp/2002-05-03-NotOperator.ll
  llvm/test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
  llvm/test/Transforms/ConstProp/2003-05-12-DivideError.ll
  llvm/test/Transforms/ConstProp/2005-01-28-SetCCGEP.ll
  llvm/test/Transforms/ConstProp/2006-11-30-vector-cast.ll
  llvm/test/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll
  llvm/test/Transforms/ConstProp/2006-12-01-bool-casts.ll
  llvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll
  llvm/test/Transforms/ConstProp/2007-02-23-sdiv.ll
  llvm/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll
  llvm/test/Transforms/ConstProp/2009-06-20-constexpr-zero-lhs.ll
  llvm/test/Transforms/ConstProp/2009-09-01-GEP-Crash.ll
  llvm/test/Transforms/ConstProp/InsertElement.ll
  llvm/test/Transforms/ConstProp/avx512.ll
  llvm/test/Transforms/ConstProp/basictest.ll
  llvm/test/Transforms/ConstProp/bitcast.ll
  llvm/test/Transforms/ConstProp/bswap.ll
  llvm/test/Transforms/ConstProp/calls-math-finite.ll
  llvm/test/Transforms/ConstProp/calls.ll
  llvm/test/Transforms/ConstProp/cast.ll
  llvm/test/Transforms/ConstProp/constant-expr.ll
  llvm/test/Transforms/ConstProp/convert-from-fp16.ll
  llvm/test/Transforms/ConstProp/div-zero.ll
  llvm/test/Transforms/ConstProp/extractvalue.ll
  llvm/test/Transforms/ConstProp/float-to-ptr-cast.ll
  llvm/test/Transforms/ConstProp/fma.ll
  llvm/test/Transforms/ConstProp/insertvalue.ll
  llvm/test/Transforms/ConstProp/loads.ll
  llvm/test/Transforms/ConstProp/logicaltest.ll
  llvm/test/Transforms/ConstProp/overflow-ops.ll
  llvm/test/Transforms/ConstProp/phi.ll
  llvm/test/Transforms/ConstProp/remtest.ll
  llvm/test/Transforms/ConstProp/shift.ll
  llvm/test/Transforms/ConstProp/sse.ll
  llvm/test/Transforms/ConstProp/trunc_vec.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2002-03-11-ConstPropCrash.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-DivideByZeroException.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-NotOperator.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2002-09-03-SetCC-Bools.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2003-05-12-DivideError.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2005-01-28-SetCCGEP.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2006-11-30-vector-cast.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2006-12-01-TruncBoolBug.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2006-12-01-bool-casts.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2007-02-05-BitCast.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2007-02-23-sdiv.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2008-07-07-VectorCompare.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2009-06-20-constexpr-zero-lhs.ll
  llvm/test/Transforms/InstSimplify/ConstProp/2009-09-01-GEP-Crash.ll
  llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cos.ll
  llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubeid.ll
  llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubema.ll
  llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubesc.ll
  llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubetc.ll
  llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fmul_legacy.ll
  llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fract.ll
  llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg
  llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/sin.ll
  llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg
  llvm/test/Transforms/InstSimplify/ConstProp/ARM/mve-vctp.ll
  llvm/test/Transforms/InstSimplify/ConstProp/InsertElement.ll
  llvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/trunc.ll
  llvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/trunc_saturate.ll
  llvm/test/Transforms/InstSimplify/ConstProp/abs.ll
  llvm/test/Transforms/InstSimplify/ConstProp/allones.ll
  llvm/test/Transforms/InstSimplify/ConstProp/avx512.ll
  llvm/test/Transforms/InstSimplify/ConstProp/basictest.ll
  llvm/test/Transforms/InstSimplify/ConstProp/binop-identity-undef.ll
  llvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
  llvm/test/Transforms/InstSimplify/ConstProp/bitcount.ll
  llvm/test/Transforms/InstSimplify/ConstProp/bswap.ll
  llvm/test/Transforms/InstSimplify/ConstProp/calls-math-finite.ll
  llvm/test/Transforms/InstSimplify/ConstProp/calls.ll
  llvm/test/Transforms/InstSimplify/ConstProp/cast-vector.ll
  llvm/test/Transforms/InstSimplify/ConstProp/cast.ll
  llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
  llvm/test/Transforms/InstSimplify/ConstProp/convert-from-fp16.ll
  llvm/test/Transforms/InstSimplify/ConstProp/copysign.ll
  llvm/test/Transforms/InstSimplify/ConstProp/div-zero.ll
  llvm/test/Transforms/InstSimplify/ConstProp/extractelement-vscale.ll
  llvm/test/Transforms/InstSimplify/ConstProp/extractvalue.ll
  llvm/test/Transforms/InstSimplify/ConstProp/float-to-ptr-cast.ll
  llvm/test/Transforms/InstSimplify/ConstProp/fma.ll
  llvm/test/Transforms/InstSimplify/ConstProp/fneg.ll
  llvm/test/Transforms/InstSimplify/ConstProp/fp-undef.ll
  llvm/test/Transforms/InstSimplify/ConstProp/freeze.ll
  llvm/test/Transforms/InstSimplify/ConstProp/funnel-shift.ll
  llvm/test/Transforms/InstSimplify/ConstProp/gep-alias.ll
  llvm/test/Transforms/InstSimplify/ConstProp/gep-constanfolding-error.ll
  llvm/test/Transforms/InstSimplify/ConstProp/gep-zeroinit-vector.ll
  llvm/test/Transforms/InstSimplify/ConstProp/gep.ll
  llvm/test/Transforms/InstSimplify/ConstProp/insertvalue.ll
  llvm/test/Transforms/InstSimplify/ConstProp/loads.ll
  llvm/test/Transforms/InstSimplify/ConstProp/logicaltest.ll
  llvm/test/Transforms/InstSimplify/ConstProp/math-1.ll
  llvm/test/Transforms/InstSimplify/ConstProp/math-2.ll
  llvm/test/Transforms/InstSimplify/ConstProp/min-max.ll
  llvm/test/Transforms/InstSimplify/ConstProp/overflow-ops.ll
  llvm/test/Transforms/InstSimplify/ConstProp/phi.ll
  llvm/test/Transforms/InstSimplify/ConstProp/remtest.ll
  llvm/test/Transforms/InstSimplify/ConstProp/rint.ll
  llvm/test/Transforms/InstSimplify/ConstProp/round.ll
  llvm/test/Transforms/InstSimplify/ConstProp/saturating-add-sub.ll
  llvm/test/Transforms/InstSimplify/ConstProp/shift.ll
  llvm/test/Transforms/InstSimplify/ConstProp/smul-fix-sat.ll
  llvm/test/Transforms/InstSimplify/ConstProp/smul-fix.ll
  llvm/test/Transforms/InstSimplify/ConstProp/sse.ll
  llvm/test/Transforms/InstSimplify/ConstProp/timeout.ll
  llvm/test/Transforms/InstSimplify/ConstProp/trunc.ll
  llvm/test/Transforms/InstSimplify/ConstProp/trunc_vec.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vecreduce.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vector-undef-elts.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vscale-getelementptr.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vscale-shufflevector.ll
  llvm/test/Transforms/InstSimplify/ConstProp/vscale.ll
  llvm/test/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll
  llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
  llvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85159.288095.patch
Type: text/x-patch
Size: 279886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200826/13f8888a/attachment-0001.bin>


More information about the llvm-commits mailing list