HomePhabricator

[ConstProp] Remove ConstantPropagation

Authored by aeubanks on Aug 3 2020, 1:46 PM.

Description

[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

Details

Committed
aeubanksAug 26 2020, 3:51 PM
Reviewer
lattner
Differential Revision
D85159: [ConstProp] Remove ConstantPropagation
Parents
rGc55db4600b4b: Load correct module for linux and android when duplicates exist in minidump.
Branches
Unknown
Tags
Unknown