[all-commits] [llvm/llvm-project] d726c7: [LoongArch][NFC] Add tests of bitwise and with imm...

Ben Shi via All-commits all-commits at lists.llvm.org
Sun Apr 2 21:11:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d726c753886bd445ab90305c6255c9fa71a360f4
      https://github.com/llvm/llvm-project/commit/d726c753886bd445ab90305c6255c9fa71a360f4
  Author: Ben Shi <ben.shi at streamcomputing.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M llvm/test/CodeGen/LoongArch/ir-instruction/and.ll

  Log Message:
  -----------
  [LoongArch][NFC] Add tests of bitwise and with immediates (for D147368)

Reviewed By: SixWeining, xen0n

Differential Revision: https://reviews.llvm.org/D147367


  Commit: 96dcd8cb9446492132dd3467ed2d3c84ecba5b25
      https://github.com/llvm/llvm-project/commit/96dcd8cb9446492132dd3467ed2d3c84ecba5b25
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/test/CodeGen/LoongArch/alloca.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/and.ll
    M llvm/test/CodeGen/LoongArch/shrinkwrap.ll
    M llvm/test/CodeGen/LoongArch/stack-realignment-with-variable-sized-objects.ll

  Log Message:
  -----------
  [LoongArch] Optimize bitwise and with immediates

Optimize bitfield extractions retaining bit positions
from 'lu12i + addi + and' to 'bstrpick + slli'.

Reviewed By: xen0n, SixWeining

Differential Revision: https://reviews.llvm.org/D147368


Compare: https://github.com/llvm/llvm-project/compare/5b8ea2d0e160...96dcd8cb9446


More information about the All-commits mailing list