[PATCH] D85558: [SVE] Implement fixed-width ZEXT lowering

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 14:24:15 PDT 2020


cameron.mcinally created this revision.
cameron.mcinally added reviewers: paulwalker-arm, efriedma, sdesmalen.
Herald added subscribers: llvm-commits, psnobl, hiraditya, tschuett.
Herald added a project: LLVM.
cameron.mcinally requested review of this revision.

Looks like this patch is already outdated by D85546 <https://reviews.llvm.org/D85546>, but thought I'd offer it anyway in case the framework help...

This patch is an attempt to lower fixed-width ZEXT by bitcasting the input to the result type, then AND'ing with an immediate that matches the input type.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85558

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/CodeGen/AArch64/sve-fixed-length-zext.ll

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


More information about the llvm-commits mailing list