[PATCH] D125247: [ValueTypes] Define MVTs for v128i2/v64i4 as well as i2 and i4.

Hendrik Greving via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 10:49:00 PDT 2022


hgreving created this revision.
Herald added subscribers: frasercrmck, kerbowa, luismarques, apazos, sameer.abuasal, pengfei, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, atanasyan, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, jvesely, nemanjai, sdardis, dschuff.
Herald added a project: All.
hgreving requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, MaskRay, aheejin.
Herald added a project: LLVM.

Adds MVT::v128i2, MVT::v64i4, and implied MVT::i2, MVT::i4 to support
for downstream targets.

Keeps MVT::i2, MVT::i4 lowering actions to `expand`, which should be
removed once target explicitly set its action.

Adjusts the remaining 11 lit tests to reflect slightly different
behavior during DAG combine.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125247

Files:
  llvm/include/llvm/CodeGen/ValueTypes.td
  llvm/include/llvm/Support/MachineValueType.h
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/lib/CodeGen/ValueTypes.cpp
  llvm/lib/IR/Function.cpp
  llvm/test/CodeGen/AArch64/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/AMDGPU/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/ARM/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/Mips/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/PowerPC/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/Thumb/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/Thumb2/srem-seteq-illegal-types.ll
  llvm/test/CodeGen/X86/bitreverse.ll
  llvm/test/CodeGen/X86/srem-seteq-illegal-types.ll
  llvm/test/TableGen/intrinsic-pointer-to-any.td
  llvm/utils/TableGen/CodeGenTarget.cpp
  llvm/utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125247.428133.patch
Type: text/x-patch
Size: 72466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220509/03302c56/attachment.bin>


More information about the llvm-commits mailing list