[PATCH] D87771: [AArch64] Emit zext move when the source of the zext is AssertZext or AssertSext

weiwei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 08:51:44 PDT 2020


wwei created this revision.
wwei added reviewers: t.p.northover, paulwalker-arm, efriedma, dmgreen, samparker.
wwei added a project: LLVM.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls.
wwei requested review of this revision.

When the source of the zext is AssertZext or AssertSext, it is hard to know any information about the upper 32 bits,
so we should insert a zext move before emitting SUBREG_TO_REG to define the lower 32 bits.

Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=47543


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87771

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/CodeGen/AArch64/arm64-assert-zext-sext.ll
  llvm/test/CodeGen/AArch64/shift_minsize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87771.292236.patch
Type: text/x-patch
Size: 6939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200916/439ac0d7/attachment.bin>


More information about the llvm-commits mailing list