[PATCH] D92226: [VE] Change the behaviour of truncate

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 27 06:10:59 PST 2020


kaz7 created this revision.
kaz7 added reviewers: simoll, k-ishizaka.
kaz7 added projects: LLVM, VE.
Herald added subscribers: llvm-commits, hiraditya.
kaz7 requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92226

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92226.308035.patch
Type: text/x-patch
Size: 37578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201127/a7218c9e/attachment.bin>


More information about the llvm-commits mailing list