HomePhabricator

[Hexagon] Use InstSimplify instead of ConstantProp

Authored by aeubanks on Jul 29 2020, 1:54 PM.

Description

[Hexagon] Use InstSimplify instead of ConstantProp

This is the last remaining use of ConstantProp, migrate it to InstSimplify in the goal of removing ConstantProp.

Add -hexagon-instsimplify option to enable skipping of instsimplify in
tests that can't handle the extra optimization.

Differential Revision: https://reviews.llvm.org/D85047

Details