[all-commits] [llvm/llvm-project] f50b3f: [Hexagon] Use InstSimplify instead of ConstantProp

aeubanks via All-commits all-commits at lists.llvm.org
Tue Aug 4 15:42:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f50b3ff02e3245b44b5452b409ca1df22e91be45
      https://github.com/llvm/llvm-project/commit/f50b3ff02e3245b44b5452b409ca1df22e91be45
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar.h
    M llvm/include/llvm/Transforms/Scalar/InstSimplifyPass.h
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
    M llvm/lib/Transforms/Scalar/InstSimplifyPass.cpp
    M llvm/test/CodeGen/Hexagon/autohvx/isel-qfalse.ll
    M llvm/test/CodeGen/Hexagon/autohvx/isel-setcc-pair.ll
    M llvm/test/CodeGen/Hexagon/bit-bitsplit-regclass.ll
    M llvm/test/CodeGen/Hexagon/hvx-bitcast-v64i1.ll
    M llvm/test/CodeGen/Hexagon/isel-simplify-crash.ll
    M llvm/test/CodeGen/Hexagon/loop_correctness.ll
    M llvm/test/CodeGen/Hexagon/newvaluejump-kill.ll
    M llvm/test/CodeGen/Hexagon/packetize-impdef-1.ll
    M llvm/test/CodeGen/Hexagon/store-vector-pred.ll
    M llvm/test/CodeGen/Hexagon/vect/zext-v4i1.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list