[PATCH] D55572: [AArch64] Add patterns for zext/sext of shift amount.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 11 13:04:21 PST 2018


efriedma created this revision.
efriedma added reviewers: t.p.northover, john.brawn, dmgreen.
Herald added subscribers: kristof.beyls, javed.absar.

Not sure this is the best fix, but it saves an instruction for certain constructs involving variable shifts.


Repository:
  rL LLVM

https://reviews.llvm.org/D55572

Files:
  lib/Target/AArch64/AArch64InstrFormats.td
  test/CodeGen/AArch64/shift-mod.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55572.177762.patch
Type: text/x-patch
Size: 3049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181211/0cd5c297/attachment.bin>


More information about the llvm-commits mailing list