[PATCH] D88122: [GlobalISel] Add widenScalar support for G_CONCAT_VECTORS and use for legalization v2s32 G_ICMPs

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 16:28:51 PDT 2020


aemerson created this revision.
aemerson added reviewers: arsenm, paquette, aditya_nandakumar, volkan.
aemerson added a project: LLVM.
Herald added subscribers: hiraditya, rovka.
aemerson requested review of this revision.
Herald added a subscriber: wdng.

Also adds FewerElements support for G_TRUNC. The switch case was present but the type index was always being rejected by the helper.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88122

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-vector-icmp.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88122.293588.patch
Type: text/x-patch
Size: 6821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/0bfdcaf0/attachment.bin>


More information about the llvm-commits mailing list