[all-commits] [llvm/llvm-project] 5d5492: [VE] Change to promote i32 AND/OR/XOR operations

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Wed Aug 12 00:24:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d549219df1c5c9a619e33d7dca662cd2c44fcda
      https://github.com/llvm/llvm-project/commit/5d549219df1c5c9a619e33d7dca662cd2c44fcda
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M llvm/lib/Target/VE/VEISelLowering.cpp
    M llvm/lib/Target/VE/VEInstrInfo.td
    M llvm/test/CodeGen/VE/cttz.ll
    M llvm/test/CodeGen/VE/nnd.ll
    M llvm/test/CodeGen/VE/or.ll
    M llvm/test/CodeGen/VE/selectccf32c.ll
    M llvm/test/CodeGen/VE/selectccf64c.ll
    M llvm/test/CodeGen/VE/selectcci32c.ll
    M llvm/test/CodeGen/VE/selectcci64c.ll
    M llvm/test/CodeGen/VE/xor.ll

  Log Message:
  -----------
  [VE] Change to promote i32 AND/OR/XOR operations

VE has only 64 bits AND/OR/XOR instructions.  We pretended that VE has 32 bits
instructions also, but doing it increase the number of generated instructions.
Therefore, we decide to promote 32 bits operations and use only 64 bits
instructions in back end.  We also avoid pretending that VE has 32 bits LEA
instruction.  Update regression tests also.

Reviewed By: simoll

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




More information about the All-commits mailing list