[all-commits] [llvm/llvm-project] 44a679: [VE] Change the behaviour of truncate

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Mon Nov 30 05:17:48 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44a679eaa40cf234c79c241012607ed5f7bada77
      https://github.com/llvm/llvm-project/commit/44a679eaa40cf234c79c241012607ed5f7bada77
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2020-11-30 (Mon, 30 Nov 2020)

  Changed paths:
    M llvm/lib/Target/VE/VEInstrInfo.td
    M llvm/test/CodeGen/VE/Scalar/br_jt.ll
    M llvm/test/CodeGen/VE/Scalar/select.ll
    M llvm/test/CodeGen/VE/Scalar/select_cc.ll
    M llvm/test/CodeGen/VE/VELIntrinsics/lsv.ll
    M llvm/test/CodeGen/VE/VELIntrinsics/lvlgen.ll
    M llvm/test/CodeGen/VE/VELIntrinsics/vbrd.ll
    M llvm/test/CodeGen/VE/Vector/vec_add.ll
    M llvm/test/CodeGen/VE/Vector/vec_broadcast.ll

  Log Message:
  -----------
  [VE] Change the behaviour of truncate

Change the way to truncate i64 to i32 in I64 registers.  VE assumed
sext values previously.  Change it to zext values this time to make
it match to the LLVM behaviour.

Reviewed By: simoll

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




More information about the All-commits mailing list