[PATCH] D122915: [AArch64] UBFM fold in the MIPeepholeOpt.

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 1 09:34:38 PDT 2022


bcl5980 created this revision.
bcl5980 added reviewers: dmgreen, benshi001, jaykang10.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
bcl5980 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

lsr x1, x0, n0
lsr x2, x1, n1

>
-

lsr x2, x0, (n0 + n1)


https://reviews.llvm.org/D122915

Files:
  llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
  llvm/test/CodeGen/AArch64/aarch64-ubfm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122915.419786.patch
Type: text/x-patch
Size: 3923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220401/ba4481fe/attachment.bin>


More information about the llvm-commits mailing list