[PATCH] D85490: [VE] Change to expand multiply related instructions

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 17:42:18 PDT 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 to expand MULHU/MULHS/UMUL_LOHI/SMUL_LOHI for i32 and i64 since
those instructions are not available on Aurora SX VE.  Some of them
are used in expansion of i128 multiply, so need to modify them to
support i128.  Then, update basic arithmetic regression tests of
i128 and signed/unsigned i32 typed integer values.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85490

Files:
  llvm/lib/Target/VE/VEISelLowering.cpp
  llvm/test/CodeGen/VE/addition.ll
  llvm/test/CodeGen/VE/div.ll
  llvm/test/CodeGen/VE/multiply.ll
  llvm/test/CodeGen/VE/rem.ll
  llvm/test/CodeGen/VE/subtraction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85490.283778.patch
Type: text/x-patch
Size: 37555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200807/a253e2e6/attachment.bin>


More information about the llvm-commits mailing list