[all-commits] [llvm/llvm-project] dd6f60: [VE] Implement FoldImmediate

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Tue Nov 10 15:08:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dd6f607ea8e71ca3c1fcc63f33402da85f85cd08
      https://github.com/llvm/llvm-project/commit/dd6f607ea8e71ca3c1fcc63f33402da85f85cd08
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2020-11-11 (Wed, 11 Nov 2020)

  Changed paths:
    M llvm/lib/Target/VE/VE.h
    M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
    M llvm/lib/Target/VE/VEInstrInfo.cpp
    M llvm/lib/Target/VE/VEInstrInfo.h
    M llvm/lib/Target/VE/VEInstrInfo.td
    M llvm/test/CodeGen/VE/Scalar/atomic_load.ll
    M llvm/test/CodeGen/VE/Scalar/atomic_store.ll
    M llvm/test/CodeGen/VE/Scalar/br_cc.ll
    M llvm/test/CodeGen/VE/Scalar/cast.ll
    M llvm/test/CodeGen/VE/Scalar/ctlz.ll
    M llvm/test/CodeGen/VE/Scalar/cttz.ll
    A llvm/test/CodeGen/VE/Scalar/fold-imm-addsl.mir
    A llvm/test/CodeGen/VE/Scalar/fold-imm-cmpsl.mir
    M llvm/test/CodeGen/VE/Scalar/int_to_fp.ll
    M llvm/test/CodeGen/VE/Scalar/select_cc.ll
    M llvm/test/CodeGen/VE/Scalar/setcc.ll

  Log Message:
  -----------
  [VE] Implement FoldImmediate

Implement FoldImmediate for only integer aritihmetic operations.
Add regression tests also.

Reviewed By: simoll

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




More information about the All-commits mailing list