[PATCH] D94226: [ARM] Custom lower i1 vector truncates

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 04:33:05 PST 2021


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, efriedma, simon_tatham, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.

The ISel patterns we have for truncating to i1's under MVE do seem to be correct. Instead custom lower to icmp(ne, and(x, 1), 0).


https://reviews.llvm.org/D94226

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-pred-ext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94226.315098.patch
Type: text/x-patch
Size: 4181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210107/f0970730/attachment.bin>


More information about the llvm-commits mailing list