[PATCH] D158832: [LoongArch] Optimize (and (a & ~((2^^X - 1) << Y)) to (bstrins a, zero, X+Y-1, Y)

Lu Weining via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 27 18:11:06 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG26021577d1e3: [LoongArch] Optimize (and (a & ~((2^^X - 1) << Y)) to (bstrins a, zero, X+Y-1… (authored by SixWeining).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158832/new/

https://reviews.llvm.org/D158832

Files:
  llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
  llvm/test/CodeGen/LoongArch/alloca.ll
  llvm/test/CodeGen/LoongArch/atomicrmw-uinc-udec-wrap.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/and.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/atomic-cmpxchg.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-minmax.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll
  llvm/test/CodeGen/LoongArch/stack-realignment-with-variable-sized-objects.ll
  llvm/test/CodeGen/LoongArch/vararg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158832.553821.patch
Type: text/x-patch
Size: 92619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230828/40d4dab0/attachment-0001.bin>


More information about the llvm-commits mailing list